Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 214 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1385/0.1385, allocations: 23.89 MB / 336.3 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.88 kB / 471.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 59.86 MB / 0.5191 GB, free: 9.832 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane): time 0.09262/0.4088, allocations: 47.08 MB / 0.565 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.5481, allocations: 106.1 MB / 0.6686 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005832/0.5539, allocations: 95.25 kB / 0.6687 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007297/0.5612, allocations: 2.159 MB / 0.6708 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03006/0.5913, allocations: 10.18 MB / 0.6808 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04139/0.6326, allocations: 15.78 MB / 0.6962 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01582/0.6485, allocations: 10.54 MB / 0.7065 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007426/0.6559, allocations: 4.608 MB / 0.711 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008587/0.6645, allocations: 5.449 MB / 0.7163 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/0.6745, allocations: 5.353 MB / 0.7215 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003173/0.6777, allocations: 0.8867 MB / 0.7224 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.298/0.9757, allocations: 13.03 MB / 0.7351 GB, free: 37.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003151/0.9788, allocations: 2.133 MB / 0.7372 GB, free: 37.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009335/0.9882, allocations: 3.883 MB / 0.741 GB, free: 37.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05764/1.046, allocations: 24.86 MB / 0.7653 GB, free: 35.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.046, allocations: 0 / 0.7653 GB, free: 35.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/1.046, allocations: 3.188 kB / 0.7653 GB, free: 35.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004979/1.046, allocations: 6.531 kB / 0.7653 GB, free: 35.91 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1818 * Number of variables: 1818 Notification: Performance of Generate backend data structure: time 0.02837/1.075, allocations: 10.61 MB / 0.7756 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/1.075, allocations: 9.938 kB / 0.7756 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.085, allocations: 1.948 MB / 0.7775 GB, free: 31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00796/1.093, allocations: 3.517 MB / 0.781 GB, free: 30.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/1.093, allocations: 0.5805 MB / 0.7816 GB, free: 30.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/1.096, allocations: 0.7353 MB / 0.7823 GB, free: 30.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/1.114, allocations: 9.224 MB / 0.7913 GB, free: 29.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/1.114, allocations: 7.031 kB / 0.7913 GB, free: 29.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007823/1.115, allocations: 290.5 kB / 0.7916 GB, free: 29.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-05/1.115, allocations: 172.4 kB / 0.7917 GB, free: 29.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/1.137, allocations: 12.58 MB / 0.804 GB, free: 28.97 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05682/1.194, allocations: 24.07 MB / 0.8275 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03194/1.226, allocations: 17.11 MB / 0.8442 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009834/1.236, allocations: 4.095 MB / 0.8482 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05993/1.296, allocations: 19.52 MB / 0.8673 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/1.296, allocations: 91.12 kB / 0.8674 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003535/1.299, allocations: 0.6228 MB / 0.868 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 2.139e-05/1.299, allocations: 0 / 0.868 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1227/1.422, allocations: 35.26 MB / 0.9024 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.422, allocations: 129.3 kB / 0.9025 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/1.427, allocations: 3.278 MB / 0.9057 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.428, allocations: 153.7 kB / 0.9059 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/1.43, allocations: 3.246 MB / 0.909 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003098/1.433, allocations: 2.709 MB / 0.9117 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/1.436, allocations: 1.702 MB / 0.9134 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.436, allocations: 301.1 kB / 0.9136 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005225/1.441, allocations: 2.869 MB / 0.9164 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008132/1.449, allocations: 5.747 MB / 0.9221 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/1.465, allocations: 9.511 MB / 0.9313 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.45e-05/1.465, allocations: 24 kB / 0.9314 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02538/1.491, allocations: 10.69 MB / 0.9418 GB, free: 9.312 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.957e-05/1.491, allocations: 46.81 kB / 0.9419 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.491, allocations: 94.66 kB / 0.9419 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008672/1.5, allocations: 1.817 MB / 0.9437 GB, free: 7.375 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/1.51, allocations: 2.321 MB / 0.946 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/1.529, allocations: 12.09 MB / 0.9578 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009024/1.538, allocations: 295.9 kB / 0.9581 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001916/1.54, allocations: 0.5194 MB / 0.9586 GB, free: 7.871 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1143): * Single equations (assignments): 1137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,27), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.003798/1.544, allocations: 1.2 MB / 0.9598 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/1.546, allocations: 0.5744 MB / 0.9603 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02473/1.57, allocations: 10.09 MB / 0.9702 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.622e-05/1.571, allocations: 79.98 kB / 0.9703 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.571, allocations: 8 kB / 0.9703 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/1.571, allocations: 39.84 kB / 0.9703 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2921/1.863, allocations: 14.59 MB / 0.9846 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/1.863, allocations: 7.375 kB / 0.9846 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008181/1.871, allocations: 1.531 MB / 0.9861 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008138/1.879, allocations: 1.594 MB / 0.9876 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001619/1.881, allocations: 267.6 kB / 0.9879 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/1.895, allocations: 11.35 MB / 0.9989 GB, free: 279.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.895, allocations: 4.125 kB / 0.999 GB, free: 279.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02816/1.923, allocations: 12.95 MB / 1.012 GB, free: 274.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004524/1.928, allocations: 1.242 MB / 1.013 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/1.929, allocations: 145.8 kB / 1.013 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/1.933, allocations: 155.9 kB / 1.013 GB, free: 273.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/1.934, allocations: 0.6019 MB / 1.014 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006616/1.935, allocations: 315.4 kB / 1.014 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002654/1.938, allocations: 1.866 MB / 1.016 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.938, allocations: 0 / 1.016 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01493/1.953, allocations: 5.101 MB / 1.021 GB, free: 272.6 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,HCO3.logn,H2O.logn,HCO3_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,albumin.logn,permeableUncharged.logn,permeableUncharged_E.logn,chargedImpermeable_E.logn,Lac_E.logn,Lac.logn,H_E.logn,H.logn,CO2.logn,CO2_E.logn,O2.logn,O2_E.logn,K.logn,Na.logn,Na_E.logn,K_E.logn,H2PO4_E.logn,ADP_E.logn,ATP_E.logn,HPO4_E.logn,globulins.logn,Ca.logn,Mg.logn,DPG.logn,GSH.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (761): * Single equations (assignments): 755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,33), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01209/1.965, allocations: 5.709 MB / 1.026 GB, free: 271.4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.979, allocations: 8.408 MB / 1.035 GB, free: 268.1 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.979, allocations: 3.531 kB / 1.035 GB, free: 268.1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007293/1.986, allocations: 4.489 MB / 1.039 GB, free: 266.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.992, allocations: 1.173 MB / 1.04 GB, free: 265.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/2.01, allocations: 12.9 MB / 1.053 GB, free: 253.2 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/2.012, allocations: 2.71 MB / 1.055 GB, free: 251.4 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006041/2.018, allocations: 1.657 MB / 1.057 GB, free: 250.4 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002205/2.02, allocations: 1.133 MB / 1.058 GB, free: 249.5 MB / 0.7012 GB Notification: Performance of SimCode: time 1.143e-06/2.02, allocations: 0 / 1.058 GB, free: 249.5 MB / 0.7012 GB Notification: Performance of Templates: time 0.1875/2.208, allocations: 173 MB / 1.227 GB, free: 79.85 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.719244290143251] Failed to read output from testmodel.py, exit status != 0: 2.2163727451115847 2.2247868459999998 1.176588831 Calling exit ...