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.001226/0.001226, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001433/0.001433, allocations: 219.1 kB / 22.25 MB, free: 5.117 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.984 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.13/0.13, allocations: 23.85 MB / 336.3 MB, free: 11.2 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",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.00191/0.00191, allocations: 76.11 kB / 471.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 59.84 MB / 0.5186 GB, free: 9.852 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.04278/0.3314, allocations: 35.17 MB / 0.5529 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05968/0.3911, allocations: 47.75 MB / 0.5996 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/0.3937, allocations: 51.56 kB / 0.5996 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.3966, allocations: 1.02 MB / 0.6006 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.4081, allocations: 3.779 MB / 0.6043 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01707/0.4252, allocations: 6.486 MB / 0.6106 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007093/0.4323, allocations: 4.543 MB / 0.6151 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003192/0.4355, allocations: 2.238 MB / 0.6172 GB, free: 5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.4389, allocations: 2.288 MB / 0.6195 GB, free: 2.707 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.4431, allocations: 2.613 MB / 0.622 GB, free: 88 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009041/0.4441, allocations: 420 kB / 0.6224 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/0.461, allocations: 5.363 MB / 0.6277 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.4625, allocations: 0.9893 MB / 0.6286 GB, free: 9.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.4652, allocations: 2.026 MB / 0.6306 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02356/0.4887, allocations: 10.24 MB / 0.6406 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4887, allocations: 0 / 0.6406 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4888, allocations: 0 / 0.6406 GB, free: 13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.553e-05/0.4888, allocations: 0 / 0.6406 GB, free: 13 MB / 494.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.01004/0.4988, allocations: 4.773 MB / 0.6453 GB, free: 8.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4989, allocations: 8.031 kB / 0.6453 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005305/0.4994, allocations: 430.7 kB / 0.6457 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.503, allocations: 0.8449 MB / 0.6465 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.5061, allocations: 1.62 MB / 0.6481 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.5064, allocations: 345.7 kB / 0.6484 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000574/0.507, allocations: 336.2 kB / 0.6488 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007292/0.5142, allocations: 4.547 MB / 0.6532 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.5143, allocations: 0 / 0.6532 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.5146, allocations: 128 kB / 0.6533 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/0.5147, allocations: 76 kB / 0.6534 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009581/0.5243, allocations: 6.235 MB / 0.6595 GB, free: 9.453 MB / 0.4981 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.02524/0.5495, allocations: 14.08 MB / 0.6732 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009783/0.5593, allocations: 5.406 MB / 0.6785 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004061/0.5634, allocations: 2.063 MB / 0.6805 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02137/0.5847, allocations: 9.648 MB / 0.6899 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/0.5848, allocations: 60.8 kB / 0.69 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002136/0.5869, allocations: 469.7 kB / 0.6905 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 8.526e-06/0.5869, allocations: 4 kB / 0.6905 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.08994/0.6769, allocations: 23.36 MB / 0.7133 GB, free: 1.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/0.677, allocations: 94.45 kB / 0.7134 GB, free: 1.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.6795, allocations: 1.72 MB / 0.715 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006644/0.6802, allocations: 93.7 kB / 0.7151 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6812, allocations: 1.344 MB / 0.7164 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/0.6827, allocations: 1.375 MB / 0.7178 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.6839, allocations: 0.7798 MB / 0.7185 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6841, allocations: 305.1 kB / 0.7188 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/0.6872, allocations: 1.843 MB / 0.7206 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.6916, allocations: 2.846 MB / 0.7234 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007968/0.6995, allocations: 4.963 MB / 0.7283 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/0.6996, allocations: 16 kB / 0.7283 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2319/0.9315, allocations: 6.842 MB / 0.735 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.9315, allocations: 18 kB / 0.735 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.769e-05/0.9316, allocations: 30.39 kB / 0.735 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/0.9425, allocations: 2.289 MB / 0.7372 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/0.9461, allocations: 0.895 MB / 0.7381 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/0.9687, allocations: 17.7 MB / 0.7554 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.9719, allocations: 138.2 kB / 0.7555 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004773/0.9723, allocations: 232.4 kB / 0.7558 GB, free: 156.5 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.00132/0.9737, allocations: 0.6048 MB / 0.7563 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/0.9743, allocations: 288 kB / 0.7566 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/0.9905, allocations: 6.583 MB / 0.763 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/0.9905, allocations: 41.25 kB / 0.7631 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.9905, allocations: 5.5 kB / 0.7631 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.996e-05/0.9906, allocations: 23.25 kB / 0.7631 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/1.013, allocations: 10.66 MB / 0.7735 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/1.013, allocations: 3.969 kB / 0.7735 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/1.016, allocations: 0.6573 MB / 0.7742 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008651/1.024, allocations: 2.014 MB / 0.7761 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006491/1.025, allocations: 135.2 kB / 0.7763 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/1.043, allocations: 16.33 MB / 0.7922 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.043, allocations: 6.406 kB / 0.7922 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.06, allocations: 8.516 MB / 0.8005 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.062, allocations: 0.6365 MB / 0.8012 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000505/1.062, allocations: 86.67 kB / 0.8012 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.064, allocations: 95.97 kB / 0.8013 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000614/1.065, allocations: 357 kB / 0.8017 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/1.065, allocations: 154.6 kB / 0.8018 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001134/1.066, allocations: 1.128 MB / 0.8029 GB, free: 125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.066, allocations: 3.938 kB / 0.8029 GB, free: 125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00582/1.072, allocations: 2.205 MB / 0.8051 GB, free: 123.1 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.02033/1.092, allocations: 11.23 MB / 0.816 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009345/1.102, allocations: 5.601 MB / 0.8215 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.102, allocations: 2.656 kB / 0.8215 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005642/1.107, allocations: 3.337 MB / 0.8248 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.11, allocations: 0.5602 MB / 0.8253 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05548/1.166, allocations: 31.32 MB / 0.8559 GB, free: 70.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.167, allocations: 1.882 MB / 0.8577 GB, free: 68.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00246/1.169, allocations: 0.6656 MB / 0.8584 GB, free: 68.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.171, allocations: 1.553 MB / 0.8599 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.171, allocations: 0 / 0.8599 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3937/1.565, allocations: 116.4 MB / 0.9736 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.06/48.62, allocations: 2.219 kB / 0.9736 GB, free: 186.7 MB / 0.5919 GB " [Timeout remaining time 611] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 51.47155737000139] Failed to read output from testmodel.py, exit status != 0: 48.803488571000344 48.814447382 48.323360326 Calling exit ...