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.0007954/0.0007954, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000811/0.000811, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8376/0.8376, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08509/0.08509, allocations: 17.37 MB / 277.3 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 412.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.382e-05, allocations: 4.219 kB / 412.7 MB, free: 13.06 MB / 330.7 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.03484/0.03486, allocations: 47.2 MB / 459.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07303/0.1079, allocations: 106.1 MB / 0.5528 GB, free: 168 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.1119, allocations: 99.19 kB / 0.5529 GB, free: 68 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.1154, allocations: 2.178 MB / 0.555 GB, free: 13.87 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0175/0.1329, allocations: 10.52 MB / 0.5653 GB, free: 3.273 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02735/0.1603, allocations: 16.23 MB / 0.5811 GB, free: 2.941 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.1761/0.3363, allocations: 10.89 MB / 0.5918 GB, free: 24.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.341, allocations: 4.643 MB / 0.5963 GB, free: 23.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006026/0.347, allocations: 7.404 MB / 0.6035 GB, free: 23.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.3513, allocations: 4.848 MB / 0.6083 GB, free: 23.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007765/0.3521, allocations: 0.8852 MB / 0.6091 GB, free: 23.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02181/0.3739, allocations: 13.15 MB / 0.622 GB, free: 23.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.3757, allocations: 2.165 MB / 0.6241 GB, free: 22.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003831/0.3795, allocations: 3.374 MB / 0.6274 GB, free: 22.65 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0364/0.4159, allocations: 26.6 MB / 0.6533 GB, free: 16.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4159, allocations: 0 / 0.6533 GB, free: 16.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4159, allocations: 0 / 0.6533 GB, free: 16.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002869/0.4162, allocations: 0 / 0.6533 GB, free: 16.7 MB / 490.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.013/0.4292, allocations: 10.55 MB / 0.6637 GB, free: 6.164 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4292, allocations: 12.03 kB / 0.6637 GB, free: 6.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.4339, allocations: 1.949 MB / 0.6656 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/0.4375, allocations: 3.52 MB / 0.669 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.4377, allocations: 0.5803 MB / 0.6696 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007969/0.4385, allocations: 0.7345 MB / 0.6703 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009508/0.448, allocations: 9.211 MB / 0.6793 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.614e-05/0.4481, allocations: 3.375 kB / 0.6793 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000529/0.4487, allocations: 291 kB / 0.6796 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/0.4487, allocations: 175.9 kB / 0.6797 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.4613, allocations: 12.58 MB / 0.692 GB, free: 9.188 MB / 0.5105 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.02848/0.4897, allocations: 24.08 MB / 0.7155 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/0.509, allocations: 17.09 MB / 0.7322 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003966/0.513, allocations: 4.101 MB / 0.7362 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02671/0.5397, allocations: 19.51 MB / 0.7553 GB, free: 9.344 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/0.5397, allocations: 95.12 kB / 0.7554 GB, free: 9.238 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001329/0.5411, allocations: 0.6305 MB / 0.756 GB, free: 8.617 MB / 0.573 GB Notification: Performance of pre-optimization done (n=581): time 8.246e-06/0.5411, allocations: 0 / 0.756 GB, free: 8.617 MB / 0.573 GB Notification: Performance of matching and sorting (n=757): time 0.0582/0.5993, allocations: 35.25 MB / 0.7904 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.5993, allocations: 132 kB / 0.7905 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.6025, allocations: 3.283 MB / 0.7937 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003846/0.6029, allocations: 149.7 kB / 0.7939 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.2711/0.874, allocations: 3.215 MB / 0.797 GB, free: 240.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002333/0.8763, allocations: 2.684 MB / 0.7997 GB, free: 239.2 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.8782, allocations: 1.69 MB / 0.8013 GB, free: 239.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.8783, allocations: 303.4 kB / 0.8016 GB, free: 238.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/0.8819, allocations: 2.866 MB / 0.8044 GB, free: 238.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005249/0.8872, allocations: 5.749 MB / 0.81 GB, free: 235.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.8985, allocations: 9.509 MB / 0.8193 GB, free: 228.6 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.992e-05/0.8986, allocations: 26.53 kB / 0.8193 GB, free: 228.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01823/0.9168, allocations: 10.7 MB / 0.8298 GB, free: 224.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.9169, allocations: 43.31 kB / 0.8298 GB, free: 224.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/0.9169, allocations: 94.83 kB / 0.8299 GB, free: 224.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004374/0.9213, allocations: 1.813 MB / 0.8317 GB, free: 224 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006267/0.9276, allocations: 2.316 MB / 0.8339 GB, free: 223.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00986/0.9375, allocations: 12.08 MB / 0.8457 GB, free: 214.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/0.9424, allocations: 291.5 kB / 0.846 GB, free: 214.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009728/0.9433, allocations: 0.5166 MB / 0.8465 GB, free: 214.1 MB / 0.6043 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.002818/0.9462, allocations: 1.199 MB / 0.8477 GB, free: 213.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/0.9473, allocations: 0.5815 MB / 0.8482 GB, free: 213 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.9606, allocations: 10.09 MB / 0.8581 GB, free: 209.1 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/0.9607, allocations: 85.56 kB / 0.8582 GB, free: 209.1 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.9607, allocations: 3.75 kB / 0.8582 GB, free: 209.1 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.406e-05/0.9608, allocations: 41.91 kB / 0.8582 GB, free: 209.1 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.9825, allocations: 14.6 MB / 0.8725 GB, free: 199 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.9825, allocations: 5.031 kB / 0.8725 GB, free: 199 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/0.9865, allocations: 1.529 MB / 0.874 GB, free: 197.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003743/0.9902, allocations: 1.593 MB / 0.8755 GB, free: 196.6 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008115/0.991, allocations: 269.6 kB / 0.8758 GB, free: 196.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00776/0.9988, allocations: 11.33 MB / 0.8869 GB, free: 185.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9988, allocations: 10.45 kB / 0.8869 GB, free: 185.1 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.012, allocations: 12.95 MB / 0.8995 GB, free: 173 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.014, allocations: 1.235 MB / 0.9007 GB, free: 172 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005347/1.015, allocations: 155.6 kB / 0.9009 GB, free: 171.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.016, allocations: 147.8 kB / 0.901 GB, free: 171.7 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/1.017, allocations: 0.6061 MB / 0.9016 GB, free: 171.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/1.017, allocations: 317 kB / 0.9019 GB, free: 171.1 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.001726/1.019, allocations: 1.867 MB / 0.9037 GB, free: 169.6 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2.6e-07/1.019, allocations: 0 / 0.9037 GB, free: 169.6 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.01081/1.03, allocations: 5.099 MB / 0.9087 GB, free: 165.5 MB / 0.6043 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.008717/1.039, allocations: 5.945 MB / 0.9145 GB, free: 161.4 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.049, allocations: 8.413 MB / 0.9227 GB, free: 153.3 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.049, allocations: 0 / 0.9227 GB, free: 153.3 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.005738/1.055, allocations: 4.479 MB / 0.9271 GB, free: 148.8 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/1.059, allocations: 1.179 MB / 0.9283 GB, free: 147.7 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.073, allocations: 12.74 MB / 0.9407 GB, free: 134.9 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/1.075, allocations: 2.709 MB / 0.9433 GB, free: 132.2 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002841/1.077, allocations: 1.445 MB / 0.9448 GB, free: 130.8 MB / 0.6043 GB Notification: Performance of SimCode: time 1.333e-06/1.077, allocations: 0 / 0.9448 GB, free: 130.8 MB / 0.6043 GB Notification: Performance of Templates: time 0.3342/1.412, allocations: 291.1 MB / 1.229 GB, free: 108.4 MB / 0.6043 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 os._exit(0), Time elapsed: 13.858517164364457] Failed to read output from testmodel.py, exit status != 0: 1.547512585297227 1.423890113 1.006561026 Calling exit ...