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.001523/0.001523, allocations: 88.72 kB / 19.44 MB, free: 352 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.001734/0.001734, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1412/0.1412, allocations: 17.45 MB / 277 MB, free: 11.59 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.823e-06/1.823e-06, allocations: 0 / 352.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.837e-05/4.02e-05, allocations: 6.25 kB / 352.9 MB, free: 10.17 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.06516/0.0652, allocations: 47.41 MB / 400.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2566/0.3218, allocations: 106.1 MB / 0.4945 GB, free: 14.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004723/0.3265, allocations: 99.19 kB / 0.4946 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007849/0.3344, allocations: 2.181 MB / 0.4967 GB, free: 11.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03338/0.3678, allocations: 10.55 MB / 0.507 GB, free: 1.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04629/0.4141, allocations: 16.23 MB / 0.5229 GB, free: 1.203 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01757/0.4316, allocations: 10.89 MB / 0.5335 GB, free: 6.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009306/0.4409, allocations: 4.838 MB / 0.5382 GB, free: 1.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01627/0.4572, allocations: 7.399 MB / 0.5454 GB, free: 9.945 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/0.4687, allocations: 4.853 MB / 0.5502 GB, free: 5.082 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003303/0.472, allocations: 0.8906 MB / 0.551 GB, free: 4.191 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04086/0.5128, allocations: 13.15 MB / 0.5639 GB, free: 7.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004117/0.5169, allocations: 2.165 MB / 0.566 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008931/0.5259, allocations: 3.368 MB / 0.5693 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2376/0.7634, allocations: 26.63 MB / 0.5953 GB, free: 30.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7634, allocations: 0 / 0.5953 GB, free: 30.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7634, allocations: 0 / 0.5953 GB, free: 30.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003962/0.7638, allocations: 0 / 0.5953 GB, free: 30.37 MB / 442.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.02687/0.7907, allocations: 10.54 MB / 0.6056 GB, free: 25.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.7908, allocations: 9.438 kB / 0.6056 GB, free: 25.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.803, allocations: 3.206 MB / 0.6087 GB, free: 24.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007914/0.8109, allocations: 3.585 MB / 0.6122 GB, free: 24.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005194/0.8115, allocations: 0.5815 MB / 0.6128 GB, free: 23.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.8141, allocations: 0.7339 MB / 0.6135 GB, free: 23.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.8344, allocations: 9.216 MB / 0.6225 GB, free: 23.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.8346, allocations: 3.562 kB / 0.6225 GB, free: 23.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/0.836, allocations: 289.2 kB / 0.6228 GB, free: 23.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.8361, allocations: 178 kB / 0.623 GB, free: 23.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.8586, allocations: 12.58 MB / 0.6352 GB, free: 22.52 MB / 442.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.05361/0.9122, allocations: 24.25 MB / 0.6589 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04081/0.953, allocations: 17.12 MB / 0.6756 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009864/0.9628, allocations: 4.091 MB / 0.6796 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05974/1.023, allocations: 20.2 MB / 0.6994 GB, free: 8.828 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/1.023, allocations: 91.12 kB / 0.6994 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002989/1.026, allocations: 0.627 MB / 0.7001 GB, free: 8.102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=581): time 1.389e-05/1.026, allocations: 0 / 0.7001 GB, free: 8.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=757): time 0.1401/1.166, allocations: 35.44 MB / 0.7347 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.166, allocations: 129.3 kB / 0.7348 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006205/1.172, allocations: 3.278 MB / 0.738 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.173, allocations: 153.7 kB / 0.7381 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003189/1.177, allocations: 3.226 MB / 0.7413 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003903/1.181, allocations: 2.684 MB / 0.7439 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004428/1.185, allocations: 1.691 MB / 0.7456 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.185, allocations: 305.1 kB / 0.7459 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006506/1.192, allocations: 2.869 MB / 0.7487 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1608/1.352, allocations: 5.741 MB / 0.7543 GB, free: 223.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/1.369, allocations: 9.504 MB / 0.7635 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.37, allocations: 27.06 kB / 0.7636 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02628/1.396, allocations: 11.13 MB / 0.7744 GB, free: 215.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.005e-05/1.396, allocations: 42.38 kB / 0.7745 GB, free: 215.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/1.396, allocations: 97.5 kB / 0.7746 GB, free: 215.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/1.408, allocations: 2.12 MB / 0.7766 GB, free: 215.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.418, allocations: 2.317 MB / 0.7789 GB, free: 214.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/1.435, allocations: 12.13 MB / 0.7907 GB, free: 205.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007073/1.442, allocations: 294.8 kB / 0.791 GB, free: 205.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002139/1.444, allocations: 0.513 MB / 0.7915 GB, free: 205.3 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.00422/1.448, allocations: 1.199 MB / 0.7927 GB, free: 204.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002765/1.451, allocations: 0.8119 MB / 0.7935 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0242/1.475, allocations: 10.1 MB / 0.8034 GB, free: 198.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/1.476, allocations: 76 kB / 0.8034 GB, free: 198.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.794e-05/1.476, allocations: 7.938 kB / 0.8034 GB, free: 198.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/1.476, allocations: 37.92 kB / 0.8035 GB, free: 198.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03347/1.509, allocations: 14.6 MB / 0.8177 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/1.509, allocations: 7.141 kB / 0.8177 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007615/1.517, allocations: 1.525 MB / 0.8192 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01059/1.527, allocations: 1.899 MB / 0.8211 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00138/1.529, allocations: 262.5 kB / 0.8213 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/1.543, allocations: 11.38 MB / 0.8324 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.543, allocations: 7.938 kB / 0.8325 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02674/1.569, allocations: 13.21 MB / 0.8453 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/1.573, allocations: 1.244 MB / 0.8466 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/1.575, allocations: 148 kB / 0.8467 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00411/1.579, allocations: 156 kB / 0.8469 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00135/1.58, allocations: 0.5988 MB / 0.8474 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008606/1.581, allocations: 323.8 kB / 0.8477 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0027/1.584, allocations: 1.864 MB / 0.8496 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.584, allocations: 0 / 0.8496 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01611/1.6, allocations: 5.101 MB / 0.8545 GB, free: 149.3 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.01697/1.617, allocations: 5.934 MB / 0.8603 GB, free: 145 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0174/1.634, allocations: 8.412 MB / 0.8686 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.634, allocations: 0 / 0.8686 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009144/1.643, allocations: 4.489 MB / 0.8729 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008169/1.651, allocations: 1.327 MB / 0.8742 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/1.675, allocations: 12.82 MB / 0.8868 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/1.678, allocations: 2.704 MB / 0.8894 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007855/1.686, allocations: 1.661 MB / 0.891 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003558/1.69, allocations: 1.129 MB / 0.8921 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/1.69, allocations: 0 / 0.8921 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.3708/2.061, allocations: 164.7 MB / 1.053 GB, free: 188.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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.252725168014877]