Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001906/0.001906, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002044/0.002044, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1434/0.1434, allocations: 17.46 MB / 277 MB, free: 11.61 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 352.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.612e-05, allocations: 2.312 kB / 352.9 MB, free: 10.14 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07159/0.07162, allocations: 51.33 MB / 404.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2876/0.3592, allocations: 122 MB / 0.5138 GB, free: 12.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005567/0.3647, allocations: 95.25 kB / 0.5139 GB, free: 12.05 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008412/0.3732, allocations: 2.19 MB / 0.516 GB, free: 9.852 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03499/0.4081, allocations: 10.54 MB / 0.5263 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04847/0.4566, allocations: 16.23 MB / 0.5422 GB, free: 15.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01872/0.4753, allocations: 10.88 MB / 0.5528 GB, free: 4.195 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1984/0.6737, allocations: 4.806 MB / 0.5575 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01503/0.6888, allocations: 7.396 MB / 0.5647 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.7006, allocations: 4.904 MB / 0.5695 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004065/0.7047, allocations: 0.8889 MB / 0.5704 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03857/0.7432, allocations: 13.15 MB / 0.5832 GB, free: 10.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003731/0.747, allocations: 2.167 MB / 0.5853 GB, free: 10.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008431/0.7554, allocations: 3.37 MB / 0.5886 GB, free: 10.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05335/0.8087, allocations: 26.67 MB / 0.6147 GB, free: 7.621 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.8088, allocations: 4.062 kB / 0.6147 GB, free: 7.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8088, allocations: 0.9375 kB / 0.6147 GB, free: 7.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004228/0.8092, allocations: 1.531 kB / 0.6147 GB, free: 7.621 MB / 426.7 MB 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.02891/0.8381, allocations: 11.19 MB / 0.6256 GB, free: 1.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.8381, allocations: 12.03 kB / 0.6256 GB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.8534, allocations: 3.214 MB / 0.6288 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.8638, allocations: 3.585 MB / 0.6323 GB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007632/0.8646, allocations: 0.5784 MB / 0.6328 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003465/0.868, allocations: 0.7345 MB / 0.6336 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/0.8959, allocations: 9.243 MB / 0.6426 GB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/0.8961, allocations: 3.375 kB / 0.6426 GB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/0.8975, allocations: 288.4 kB / 0.6429 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.8977, allocations: 175.9 kB / 0.643 GB, free: 432 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/0.9256, allocations: 12.04 MB / 0.6548 GB, free: 4.391 MB / 458.7 MB 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.07461/1, allocations: 27.55 MB / 0.6817 GB, free: 9.258 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04082/1.041, allocations: 16.7 MB / 0.698 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009279/1.05, allocations: 3.701 MB / 0.7016 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06289/1.113, allocations: 20.4 MB / 0.7215 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/1.113, allocations: 97.94 kB / 0.7216 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002942/1.116, allocations: 0.6191 MB / 0.7222 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=581): time 1.414e-05/1.116, allocations: 0 / 0.7222 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=757): time 0.2596/1.376, allocations: 31.51 MB / 0.753 GB, free: 216 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/1.376, allocations: 130.1 kB / 0.7531 GB, free: 215.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/1.381, allocations: 4.126 MB / 0.7571 GB, free: 215.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001248/1.382, allocations: 150.2 kB / 0.7573 GB, free: 215.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.384, allocations: 3.485 MB / 0.7607 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002802/1.386, allocations: 2.838 MB / 0.7635 GB, free: 211.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002606/1.389, allocations: 1.944 MB / 0.7654 GB, free: 210.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.681e-05/1.389, allocations: 480.7 kB / 0.7658 GB, free: 210.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004577/1.394, allocations: 2.674 MB / 0.7684 GB, free: 209.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006956/1.401, allocations: 6.938 MB / 0.7752 GB, free: 203.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/1.416, allocations: 11.88 MB / 0.7868 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.416, allocations: 26.19 kB / 0.7868 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02355/1.44, allocations: 10.86 MB / 0.7974 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/1.44, allocations: 44 kB / 0.7975 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.952e-05/1.44, allocations: 93.72 kB / 0.7976 GB, free: 190.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/1.451, allocations: 2.113 MB / 0.7996 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009884/1.461, allocations: 2.327 MB / 0.8019 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/1.477, allocations: 15.44 MB / 0.817 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007015/1.484, allocations: 293.4 kB / 0.8173 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/1.486, allocations: 0.5198 MB / 0.8178 GB, free: 171.2 MB / 0.5261 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.003882/1.49, allocations: 1.219 MB / 0.819 GB, free: 170 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002088/1.492, allocations: 0.8122 MB / 0.8198 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/1.513, allocations: 9.8 MB / 0.8293 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/1.513, allocations: 83.83 kB / 0.8294 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/1.513, allocations: 11.22 kB / 0.8294 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001139/1.513, allocations: 42.28 kB / 0.8295 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/1.545, allocations: 15.23 MB / 0.8443 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/1.545, allocations: 7.828 kB / 0.8443 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00797/1.553, allocations: 1.541 MB / 0.8458 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01056/1.563, allocations: 1.901 MB / 0.8477 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001447/1.565, allocations: 259.9 kB / 0.8479 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.579, allocations: 14.68 MB / 0.8623 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.579, allocations: 4 kB / 0.8623 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0244/1.603, allocations: 12.68 MB / 0.8747 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00406/1.607, allocations: 1.252 MB / 0.8759 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/1.609, allocations: 144 kB / 0.876 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/1.613, allocations: 148 kB / 0.8762 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/1.614, allocations: 0.6105 MB / 0.8768 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006043/1.614, allocations: 318.5 kB / 0.8771 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002565/1.617, allocations: 2.09 MB / 0.8791 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.617, allocations: 0 / 0.8791 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01525/1.632, allocations: 5.098 MB / 0.8841 GB, free: 105.6 MB / 0.5261 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.01331/1.646, allocations: 5.94 MB / 0.8899 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01529/1.661, allocations: 8.988 MB / 0.8987 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.661, allocations: 0 / 0.8987 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007077/1.668, allocations: 4.875 MB / 0.9034 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/1.674, allocations: 1.33 MB / 0.9047 GB, free: 85.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/1.693, allocations: 12.8 MB / 0.9172 GB, free: 72.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/1.695, allocations: 2.704 MB / 0.9199 GB, free: 69.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006369/1.701, allocations: 1.646 MB / 0.9215 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/1.704, allocations: 1.141 MB / 0.9226 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/1.704, allocations: 0 / 0.9226 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.3655/2.069, allocations: 165.6 MB / 1.084 GB, free: 136.9 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.081231661955826]