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.001727/0.001727, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0022/0.0022, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.82 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.1365/0.1365, allocations: 23.88 MB / 336.3 MB, free: 10.98 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.002103/0.002103, allocations: 71.88 kB / 471.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 59.86 MB / 0.5185 GB, free: 9.496 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.08048/0.3997, allocations: 33.43 MB / 0.5512 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05966/0.4594, allocations: 41.75 MB / 0.592 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.4622, allocations: 47.62 kB / 0.592 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.4655, allocations: 0.9264 MB / 0.5929 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01327/0.4788, allocations: 3.709 MB / 0.5965 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02018/0.4989, allocations: 6.49 MB / 0.6029 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007971/0.5069, allocations: 4.539 MB / 0.6073 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.5111, allocations: 2.203 MB / 0.6095 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003923/0.515, allocations: 2.291 MB / 0.6117 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004253/0.5193, allocations: 2.347 MB / 0.614 GB, free: 7.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.5205, allocations: 420 kB / 0.6144 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/0.5348, allocations: 5.023 MB / 0.6193 GB, free: 2.488 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002127/0.5369, allocations: 0.9971 MB / 0.6203 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002738/0.5397, allocations: 1.728 MB / 0.622 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02119/0.5609, allocations: 10.2 MB / 0.6319 GB, free: 5.516 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5609, allocations: 0 / 0.6319 GB, free: 5.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5609, allocations: 4 kB / 0.6319 GB, free: 5.512 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.561, allocations: 0 / 0.6319 GB, free: 5.512 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.01044/0.5714, allocations: 4.761 MB / 0.6366 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5715, allocations: 8.031 kB / 0.6366 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005574/0.572, allocations: 426.7 kB / 0.637 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.5759, allocations: 0.8449 MB / 0.6378 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.5795, allocations: 1.616 MB / 0.6394 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.5798, allocations: 345.7 kB / 0.6397 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000636/0.5804, allocations: 332.2 kB / 0.64 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/0.5882, allocations: 4.554 MB / 0.6445 GB, free: 8.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.303e-05/0.5883, allocations: 3.938 kB / 0.6445 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/0.5886, allocations: 128 kB / 0.6446 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.008e-05/0.5887, allocations: 76 kB / 0.6447 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.599, allocations: 6.165 MB / 0.6507 GB, free: 2.055 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.02522/0.6242, allocations: 12.03 MB / 0.6625 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00954/0.6337, allocations: 5.301 MB / 0.6676 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.6373, allocations: 2.059 MB / 0.6696 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/0.6581, allocations: 9.13 MB / 0.6786 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.6582, allocations: 60.8 kB / 0.6786 GB, free: 5.293 MB / 0.5138 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001977/0.6602, allocations: 461.8 kB / 0.6791 GB, free: 4.84 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=284): time 6.362e-06/0.6602, allocations: 4 kB / 0.6791 GB, free: 4.836 MB / 0.5138 GB Notification: Performance of matching and sorting (n=387): time 0.09338/0.7536, allocations: 23.36 MB / 0.7019 GB, free: 13.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.7536, allocations: 90.45 kB / 0.702 GB, free: 13.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.7562, allocations: 1.778 MB / 0.7037 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008329/0.757, allocations: 93.7 kB / 0.7038 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.7582, allocations: 1.344 MB / 0.7051 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/0.7601, allocations: 1.371 MB / 0.7064 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.7614, allocations: 0.7798 MB / 0.7072 GB, free: 7.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7616, allocations: 305.1 kB / 0.7075 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/0.7649, allocations: 1.839 MB / 0.7093 GB, free: 5.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004243/0.7691, allocations: 2.843 MB / 0.7121 GB, free: 2.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008905/0.778, allocations: 4.979 MB / 0.7169 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.462e-05/0.7781, allocations: 8 kB / 0.7169 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01993/0.798, allocations: 6.837 MB / 0.7236 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.7981, allocations: 20 kB / 0.7236 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.453e-05/0.7981, allocations: 28 kB / 0.7237 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/0.8092, allocations: 2.295 MB / 0.7259 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/0.813, allocations: 0.897 MB / 0.7268 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2587/1.072, allocations: 17.54 MB / 0.7439 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/1.075, allocations: 145.5 kB / 0.744 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006509/1.076, allocations: 230.7 kB / 0.7443 GB, free: 161.6 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.001744/1.078, allocations: 0.6027 MB / 0.7449 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008563/1.078, allocations: 290.8 kB / 0.7451 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/1.096, allocations: 6.573 MB / 0.7515 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.308e-05/1.096, allocations: 46.69 kB / 0.7516 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/1.096, allocations: 4.875 kB / 0.7516 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/1.096, allocations: 20.77 kB / 0.7516 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.121, allocations: 10.1 MB / 0.7615 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/1.121, allocations: 6.516 kB / 0.7615 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00316/1.124, allocations: 0.6518 MB / 0.7621 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009031/1.133, allocations: 2.016 MB / 0.7641 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007231/1.134, allocations: 141 kB / 0.7642 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/1.153, allocations: 16.17 MB / 0.78 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.153, allocations: 10.31 kB / 0.78 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/1.17, allocations: 8.516 MB / 0.7883 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.172, allocations: 0.6384 MB / 0.789 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/1.173, allocations: 86.95 kB / 0.7891 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.174, allocations: 97.84 kB / 0.7891 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006785/1.175, allocations: 353.8 kB / 0.7895 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/1.175, allocations: 157.1 kB / 0.7896 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001134/1.177, allocations: 1.124 MB / 0.7907 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.177, allocations: 3.875 kB / 0.7907 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005339/1.182, allocations: 2.202 MB / 0.7929 GB, free: 134.3 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.02177/1.204, allocations: 11.23 MB / 0.8039 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009732/1.213, allocations: 5.601 MB / 0.8093 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.213, allocations: 0 / 0.8093 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005089/1.218, allocations: 3.347 MB / 0.8126 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.002642/1.221, allocations: 0.5507 MB / 0.8131 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05829/1.279, allocations: 31.31 MB / 0.8437 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.281, allocations: 1.33 MB / 0.845 GB, free: 80.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002669/1.284, allocations: 0.6673 MB / 0.8457 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/1.285, allocations: 1.557 MB / 0.8472 GB, free: 78.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.285, allocations: 0 / 0.8472 GB, free: 78.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.409/1.694, allocations: 115.4 MB / 0.9599 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/20.84, allocations: 2.094 kB / 0.9599 GB, free: 191.6 MB / 0.5919 GB " [Timeout remaining time 639] (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: 23.818816837854683] Failed to read output from testmodel.py, exit status != 0: 21.028454154264182 21.053756488 20.487964383 Calling exit ...