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.001304/0.001304, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001475/0.001475, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1448/0.1448, allocations: 23.87 MB / 337.1 MB, free: 10.97 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="cs",version="2.0",platforms={"static"}) [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.003249/0.003249, allocations: 64.09 kB / 471.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3143, allocations: 59.86 MB / 0.5193 GB, free: 9.57 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.CarbonDioxideInBlood): time 0.07621/0.3905, allocations: 33.05 MB / 0.5516 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05768/0.4482, allocations: 41.71 MB / 0.5923 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.4512, allocations: 55.5 kB / 0.5924 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.4545, allocations: 0.9226 MB / 0.5933 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.4681, allocations: 3.713 MB / 0.5969 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01844/0.4865, allocations: 6.49 MB / 0.6032 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006924/0.4934, allocations: 4.535 MB / 0.6077 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.497, allocations: 2.242 MB / 0.6099 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004109/0.5011, allocations: 2.287 MB / 0.6121 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004919/0.506, allocations: 2.617 MB / 0.6146 GB, free: 8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.5074, allocations: 424 kB / 0.615 GB, free: 7.586 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/0.5218, allocations: 5.156 MB / 0.6201 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001835/0.5236, allocations: 0.9892 MB / 0.621 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003378/0.527, allocations: 1.735 MB / 0.6227 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02124/0.5482, allocations: 10.19 MB / 0.6327 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5482, allocations: 0 / 0.6327 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5482, allocations: 4 kB / 0.6327 GB, free: 5.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001405/0.5484, allocations: 3.938 kB / 0.6327 GB, free: 5.445 MB / 478.1 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.01209/0.5604, allocations: 4.757 MB / 0.6373 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5605, allocations: 8.031 kB / 0.6374 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001067/0.5606, allocations: 82.48 kB / 0.6374 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009127/0.5615, allocations: 422.7 kB / 0.6378 GB, free: 116 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.5661, allocations: 0.8519 MB / 0.6387 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/0.5699, allocations: 1.62 MB / 0.6403 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.5703, allocations: 345.7 kB / 0.6406 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009663/0.5712, allocations: 328.8 kB / 0.6409 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009701/0.5809, allocations: 4.547 MB / 0.6453 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.508e-05/0.581, allocations: 3.938 kB / 0.6453 GB, free: 8.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004982/0.5815, allocations: 124 kB / 0.6455 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/0.5816, allocations: 80 kB / 0.6455 GB, free: 8.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.5927, allocations: 6.239 MB / 0.6516 GB, free: 1.84 MB / 494.1 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.02849/0.6211, allocations: 12.02 MB / 0.6634 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.6318, allocations: 5.317 MB / 0.6686 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003778/0.6356, allocations: 2.059 MB / 0.6706 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02121/0.6568, allocations: 9.126 MB / 0.6795 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.6569, allocations: 64.8 kB / 0.6795 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002228/0.6591, allocations: 473.7 kB / 0.68 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 9.197e-06/0.6591, allocations: 0 / 0.68 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09902/0.7581, allocations: 23.35 MB / 0.7028 GB, free: 13.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.7582, allocations: 90.45 kB / 0.7029 GB, free: 12.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.7606, allocations: 1.728 MB / 0.7046 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007601/0.7614, allocations: 89.7 kB / 0.7047 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.7627, allocations: 1.34 MB / 0.706 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/0.7645, allocations: 1.375 MB / 0.7073 GB, free: 8.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.7659, allocations: 0.7837 MB / 0.7081 GB, free: 7.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.766, allocations: 305.1 kB / 0.7084 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/0.7694, allocations: 1.843 MB / 0.7102 GB, free: 5.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/0.7737, allocations: 2.846 MB / 0.7129 GB, free: 2.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008517/0.7822, allocations: 4.967 MB / 0.7178 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/0.7823, allocations: 11.94 kB / 0.7178 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02147/0.8037, allocations: 6.845 MB / 0.7245 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.8038, allocations: 19.94 kB / 0.7245 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.865e-05/0.8038, allocations: 32.25 kB / 0.7245 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/0.8163, allocations: 2.291 MB / 0.7268 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/0.8204, allocations: 0.8932 MB / 0.7276 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.245/1.065, allocations: 17.53 MB / 0.7448 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/1.069, allocations: 141.7 kB / 0.7449 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009007/1.07, allocations: 229.6 kB / 0.7451 GB, free: 162 MB / 0.5606 GB 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.001728/1.072, allocations: 0.6087 MB / 0.7457 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008568/1.073, allocations: 289.3 kB / 0.746 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/1.091, allocations: 6.578 MB / 0.7524 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/1.091, allocations: 41.69 kB / 0.7525 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.969e-05/1.091, allocations: 5.156 kB / 0.7525 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/1.092, allocations: 24.61 kB / 0.7525 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/1.115, allocations: 10.1 MB / 0.7624 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/1.115, allocations: 4.469 kB / 0.7624 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/1.118, allocations: 0.6569 MB / 0.763 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009792/1.128, allocations: 2.013 MB / 0.765 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009435/1.129, allocations: 134.7 kB / 0.7651 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/1.148, allocations: 16.18 MB / 0.7809 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.148, allocations: 7.531 kB / 0.7809 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.167, allocations: 8.515 MB / 0.7892 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.169, allocations: 0.6432 MB / 0.7898 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/1.169, allocations: 82.97 kB / 0.7899 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.171, allocations: 94.47 kB / 0.79 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/1.172, allocations: 353.1 kB / 0.7903 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/1.172, allocations: 165.2 kB / 0.7905 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00113/1.174, allocations: 1.125 MB / 0.7916 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.174, allocations: 0 / 0.7916 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006118/1.18, allocations: 2.205 MB / 0.7938 GB, free: 134.4 MB / 0.5606 GB 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.02167/1.201, allocations: 11.23 MB / 0.8047 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009544/1.211, allocations: 5.599 MB / 0.8102 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.211, allocations: 0 / 0.8102 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/1.216, allocations: 3.349 MB / 0.8135 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.219, allocations: 0.5522 MB / 0.814 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05851/1.277, allocations: 31.3 MB / 0.8446 GB, free: 81.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.278, allocations: 1.333 MB / 0.8459 GB, free: 80.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002527/1.281, allocations: 0.6772 MB / 0.8465 GB, free: 79.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.283, allocations: 1.553 MB / 0.8481 GB, free: 78.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.283, allocations: 0 / 0.8481 GB, free: 78.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4453/1.728, allocations: 116.3 MB / 0.9616 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.41/53.14, allocations: 12 kB / 0.9616 GB, free: 189.9 MB / 0.5919 GB " [Timeout remaining time 607] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 56.021019398001954] Failed to read output from testmodel.py, exit status != 0: 53.37983687501401 53.391150675 52.839846609 Calling exit ...