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.001233/0.001233, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.00142/0.00142, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.793 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.1303/0.1303, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.001959/0.001959, allocations: 71.83 kB / 471.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2982, allocations: 59.86 MB / 0.5185 GB, free: 9.5 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.07373/0.3719, allocations: 33.35 MB / 0.5511 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05293/0.4249, allocations: 41.76 MB / 0.5919 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/0.4278, allocations: 51.62 kB / 0.5919 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.4309, allocations: 0.9264 MB / 0.5928 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.4431, allocations: 3.705 MB / 0.5965 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01805/0.4612, allocations: 6.497 MB / 0.6028 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006498/0.4677, allocations: 4.524 MB / 0.6072 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.4704, allocations: 2.261 MB / 0.6094 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.4731, allocations: 2.287 MB / 0.6117 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/0.4766, allocations: 2.617 MB / 0.6142 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.4773, allocations: 420 kB / 0.6146 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.4897, allocations: 5.148 MB / 0.6197 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.4909, allocations: 1.005 MB / 0.6206 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.4931, allocations: 1.732 MB / 0.6223 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.5141, allocations: 10.2 MB / 0.6323 GB, free: 5.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5141, allocations: 0 / 0.6323 GB, free: 5.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5141, allocations: 0 / 0.6323 GB, free: 5.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.168e-05/0.5142, allocations: 4 kB / 0.6323 GB, free: 5.105 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.009771/0.524, allocations: 4.757 MB / 0.6369 GB, free: 296 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.524, allocations: 8.031 kB / 0.6369 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005624/0.5246, allocations: 426.8 kB / 0.6374 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/0.5283, allocations: 0.8449 MB / 0.6382 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.5315, allocations: 1.612 MB / 0.6398 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.5318, allocations: 345.7 kB / 0.6401 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006297/0.5324, allocations: 340.2 kB / 0.6404 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007639/0.5401, allocations: 4.547 MB / 0.6448 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.504e-05/0.5401, allocations: 11.92 kB / 0.6449 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.5404, allocations: 128 kB / 0.645 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/0.5405, allocations: 76 kB / 0.6451 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009876/0.5504, allocations: 6.169 MB / 0.6511 GB, free: 1.645 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.02317/0.5736, allocations: 12.02 MB / 0.6628 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009044/0.5826, allocations: 5.309 MB / 0.668 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003719/0.5863, allocations: 2.063 MB / 0.67 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02161/0.6079, allocations: 9.122 MB / 0.6789 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.608, allocations: 56.8 kB / 0.679 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001904/0.6099, allocations: 473.7 kB / 0.6794 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 5.921e-06/0.6099, allocations: 0 / 0.6794 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.08499/0.6949, allocations: 23.36 MB / 0.7022 GB, free: 12.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.695, allocations: 90.45 kB / 0.7023 GB, free: 12.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.6973, allocations: 1.774 MB / 0.7041 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005486/0.6978, allocations: 89.7 kB / 0.7041 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009794/0.6988, allocations: 1.344 MB / 0.7055 GB, free: 9.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.7002, allocations: 1.367 MB / 0.7068 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.7015, allocations: 0.7838 MB / 0.7076 GB, free: 7.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7016, allocations: 305.1 kB / 0.7079 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.7047, allocations: 1.839 MB / 0.7096 GB, free: 5.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/0.7088, allocations: 2.839 MB / 0.7124 GB, free: 1.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008141/0.7169, allocations: 4.983 MB / 0.7173 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/0.717, allocations: 8 kB / 0.7173 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01841/0.7354, allocations: 6.841 MB / 0.724 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.7354, allocations: 16 kB / 0.724 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-05/0.7355, allocations: 32 kB / 0.724 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.746, allocations: 2.287 MB / 0.7263 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/0.7498, allocations: 0.8931 MB / 0.7271 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2158/0.9655, allocations: 17.55 MB / 0.7443 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.9688, allocations: 139.3 kB / 0.7444 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000775/0.9696, allocations: 232.2 kB / 0.7446 GB, free: 161.1 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.001579/0.9712, allocations: 0.6052 MB / 0.7452 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008036/0.972, allocations: 294.4 kB / 0.7455 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/0.9882, allocations: 6.577 MB / 0.7519 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.045e-05/0.9882, allocations: 41.72 kB / 0.752 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.9882, allocations: 8.156 kB / 0.752 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/0.9883, allocations: 23.23 kB / 0.752 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.01, allocations: 10.09 MB / 0.7618 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/1.01, allocations: 4.938 kB / 0.7618 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003377/1.013, allocations: 0.6579 MB / 0.7625 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008628/1.022, allocations: 2.017 MB / 0.7645 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007754/1.023, allocations: 134.3 kB / 0.7646 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/1.041, allocations: 16.18 MB / 0.7804 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.041, allocations: 9.828 kB / 0.7804 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/1.057, allocations: 8.507 MB / 0.7887 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.058, allocations: 0.6411 MB / 0.7893 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/1.059, allocations: 90.08 kB / 0.7894 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.06, allocations: 95.31 kB / 0.7895 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006291/1.061, allocations: 356.1 kB / 0.7898 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.061, allocations: 161.8 kB / 0.79 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001052/1.062, allocations: 1.124 MB / 0.7911 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 0.7911 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005475/1.068, allocations: 2.2 MB / 0.7932 GB, free: 133.8 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.01961/1.087, allocations: 11.24 MB / 0.8042 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008725/1.096, allocations: 5.584 MB / 0.8097 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.096, allocations: 0 / 0.8097 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004868/1.101, allocations: 3.349 MB / 0.8129 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.103, allocations: 0.5576 MB / 0.8135 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05199/1.155, allocations: 31.3 MB / 0.8441 GB, free: 81.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/1.156, allocations: 1.338 MB / 0.8454 GB, free: 79.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002265/1.159, allocations: 0.6726 MB / 0.846 GB, free: 79.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.16, allocations: 1.546 MB / 0.8475 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.123e-06/1.16, allocations: 2.656 kB / 0.8475 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3841/1.544, allocations: 116.7 MB / 0.9615 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/19.39, allocations: 2.625 kB / 0.9615 GB, free: 193.3 MB / 0.5919 GB " [Timeout remaining time 640] (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 os._exit(0), Time elapsed: 22.080520147981588] Failed to read output from testmodel.py, exit status != 0: 19.5708926700172 19.587138759 19.069736125 Calling exit ...