Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.0007692/0.0007692, allocations: 72.5 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.0007807/0.0007807, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8345/0.8345, 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.08127/0.08127, allocations: 17.36 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.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 412.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.921e-05, allocations: 2.281 kB / 412.7 MB, free: 13.03 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.CarbonDioxideInBlood): time 0.02553/0.02556, allocations: 33.63 MB / 446.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03098/0.05654, allocations: 41.74 MB / 488.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.05855, allocations: 47.62 kB / 488.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.06024, allocations: 0.9417 MB / 489.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00697/0.06721, allocations: 3.843 MB / 492.9 MB, free: 9.508 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.07849, allocations: 6.681 MB / 499.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003996/0.08249, allocations: 4.689 MB / 0.4925 GB, free: 14.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.08463, allocations: 2.223 MB / 0.4946 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.08734, allocations: 3.155 MB / 0.4977 GB, free: 8.633 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.08924, allocations: 2.109 MB / 0.4998 GB, free: 6.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004393/0.08968, allocations: 420 kB / 0.5002 GB, free: 6.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008551/0.09823, allocations: 5.068 MB / 0.5051 GB, free: 1.031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.0988, allocations: 1.005 MB / 0.5061 GB, free: 24 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.09992, allocations: 1.505 MB / 0.5076 GB, free: 14.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.1138, allocations: 10.89 MB / 0.5182 GB, free: 3.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1138, allocations: 4 kB / 0.5182 GB, free: 3.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1138, allocations: 0 / 0.5182 GB, free: 3.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.1139, allocations: 0 / 0.5182 GB, free: 3.586 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.005165/0.1191, allocations: 4.73 MB / 0.5228 GB, free: 14.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1191, allocations: 12.03 kB / 0.5229 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.121, allocations: 0.8525 MB / 0.5237 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.123, allocations: 1.611 MB / 0.5253 GB, free: 12.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.1232, allocations: 345.7 kB / 0.5256 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/0.1235, allocations: 332.3 kB / 0.5259 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.1278, allocations: 4.547 MB / 0.5303 GB, free: 6.973 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.1278, allocations: 4.125 kB / 0.5303 GB, free: 6.969 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.1281, allocations: 132.1 kB / 0.5305 GB, free: 6.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.1281, allocations: 80 kB / 0.5306 GB, free: 6.762 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005889/0.134, allocations: 6.169 MB / 0.5366 GB, free: 0.582 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.01272/0.1467, allocations: 11.65 MB / 0.548 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005233/0.1519, allocations: 5.298 MB / 0.5531 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/0.1541, allocations: 2.063 MB / 0.5551 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.1647, allocations: 9.106 MB / 0.564 GB, free: 4.309 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1647, allocations: 68.73 kB / 0.5641 GB, free: 4.23 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009096/0.1656, allocations: 446 kB / 0.5645 GB, free: 3.793 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 3.657e-06/0.1657, allocations: 3.938 kB / 0.5645 GB, free: 3.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=387): time 0.1842/0.3498, allocations: 23.35 MB / 0.5873 GB, free: 147.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3499, allocations: 90.52 kB / 0.5874 GB, free: 147.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.3514, allocations: 1.633 MB / 0.589 GB, free: 146.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002677/0.3516, allocations: 93.7 kB / 0.5891 GB, free: 146.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.3521, allocations: 1.355 MB / 0.5904 GB, free: 145.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008169/0.3529, allocations: 1.359 MB / 0.5918 GB, free: 144.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009194/0.3539, allocations: 0.778 MB / 0.5925 GB, free: 144.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.998e-05/0.3539, allocations: 302.9 kB / 0.5928 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.356, allocations: 1.838 MB / 0.5946 GB, free: 143.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.3584, allocations: 2.843 MB / 0.5974 GB, free: 141.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/0.3632, allocations: 4.975 MB / 0.6022 GB, free: 138.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/0.3632, allocations: 8.938 kB / 0.6022 GB, free: 138.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01006/0.3733, allocations: 6.835 MB / 0.6089 GB, free: 136 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.3733, allocations: 19.66 kB / 0.6089 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.3733, allocations: 29.88 kB / 0.609 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/0.3783, allocations: 2.29 MB / 0.6112 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.3798, allocations: 0.8922 MB / 0.6121 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.3922, allocations: 17.38 MB / 0.629 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.3937, allocations: 143.1 kB / 0.6292 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.3939, allocations: 224.9 kB / 0.6294 GB, free: 121.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001146/0.3951, allocations: 0.6077 MB / 0.63 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.3955, allocations: 274.4 kB / 0.6302 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/0.4039, allocations: 6.571 MB / 0.6367 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4039, allocations: 42.69 kB / 0.6367 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4039, allocations: 7.984 kB / 0.6367 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.4039, allocations: 19.92 kB / 0.6367 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.415, allocations: 9.758 MB / 0.6463 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.415, allocations: 6.625 kB / 0.6463 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.4163, allocations: 0.6437 MB / 0.6469 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004042/0.4203, allocations: 2.017 MB / 0.6489 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.4205, allocations: 139.8 kB / 0.649 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009725/0.4303, allocations: 16.01 MB / 0.6646 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4303, allocations: 10.59 kB / 0.6646 GB, free: 87.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009299/0.4396, allocations: 8.491 MB / 0.6729 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/0.4403, allocations: 0.6291 MB / 0.6735 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.4405, allocations: 83.98 kB / 0.6736 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008563/0.4414, allocations: 98.66 kB / 0.6737 GB, free: 77.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/0.4418, allocations: 354.5 kB / 0.6741 GB, free: 77.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.442, allocations: 155.9 kB / 0.6742 GB, free: 77.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006438/0.4426, allocations: 1.027 MB / 0.6752 GB, free: 76.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4426, allocations: 0 / 0.6752 GB, free: 76.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003537/0.4462, allocations: 2.204 MB / 0.6774 GB, free: 74.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002511/0.4487, allocations: 2.341 MB / 0.6797 GB, free: 72.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00523/0.4539, allocations: 5.597 MB / 0.6851 GB, free: 66.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4539, allocations: 0 / 0.6851 GB, free: 66.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002772/0.4567, allocations: 3.341 MB / 0.6884 GB, free: 63.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.4581, allocations: 0.55 MB / 0.6889 GB, free: 62.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/0.4642, allocations: 6.634 MB / 0.6954 GB, free: 56.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.4649, allocations: 1.332 MB / 0.6967 GB, free: 54.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008381/0.4658, allocations: 0.543 MB / 0.6972 GB, free: 54.35 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4658, allocations: 0 / 0.6972 GB, free: 54.35 MB / 490.7 MB Notification: Performance of Templates: time 0.2113/0.6771, allocations: 171.3 MB / 0.8645 GB, free: 110 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.442162136547267] Failed to read output from testmodel.py, exit status != 0: 0.8111734418198466 0.68780854 0.5726791910000001 Calling exit ...