Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001781/0.001781, allocations: 99.75 kB / 18.95 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.002299/0.002299, allocations: 216.7 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.449/1.449, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1394/0.1394, allocations: 23.93 MB / 336.4 MB, free: 10.91 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_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.001977/0.001977, allocations: 71.91 kB / 471.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 59.88 MB / 0.5186 GB, free: 9.473 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07747/0.4041, allocations: 33.35 MB / 0.5512 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05711/0.4612, allocations: 41.75 MB / 0.592 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.4644, allocations: 47.62 kB / 0.592 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.4677, allocations: 0.9264 MB / 0.5929 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.4802, allocations: 3.702 MB / 0.5965 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01953/0.4997, allocations: 6.505 MB / 0.6029 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007302/0.507, allocations: 4.535 MB / 0.6073 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/0.5104, allocations: 2.254 MB / 0.6095 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.5145, allocations: 2.291 MB / 0.6117 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004709/0.5192, allocations: 2.613 MB / 0.6143 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.5206, allocations: 420 kB / 0.6147 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01517/0.5357, allocations: 5.148 MB / 0.6197 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001902/0.5376, allocations: 1.005 MB / 0.6207 GB, free: 1.023 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.5404, allocations: 1.732 MB / 0.6224 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02312/0.5635, allocations: 10.2 MB / 0.6324 GB, free: 5.047 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5636, allocations: 0 / 0.6324 GB, free: 5.047 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5636, allocations: 0 / 0.6324 GB, free: 5.047 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001782/0.5637, allocations: 0 / 0.6324 GB, free: 5.047 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.01173/0.5755, allocations: 4.761 MB / 0.637 GB, free: 232 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5755, allocations: 8.031 kB / 0.637 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006992/0.5762, allocations: 430.7 kB / 0.6374 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/0.5802, allocations: 0.8449 MB / 0.6383 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/0.5841, allocations: 1.608 MB / 0.6398 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.5844, allocations: 349.6 kB / 0.6402 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008801/0.5853, allocations: 336.2 kB / 0.6405 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008719/0.594, allocations: 4.547 MB / 0.6449 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.5941, allocations: 3.938 kB / 0.6449 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.5944, allocations: 132 kB / 0.645 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.5945, allocations: 76 kB / 0.6451 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.6049, allocations: 6.169 MB / 0.6511 GB, free: 1.586 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.02694/0.6319, allocations: 12.03 MB / 0.6629 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009954/0.6418, allocations: 5.309 MB / 0.6681 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/0.6455, allocations: 2.056 MB / 0.6701 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02293/0.6684, allocations: 9.118 MB / 0.679 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.6684, allocations: 60.8 kB / 0.679 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002198/0.6706, allocations: 473.7 kB / 0.6795 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.302e-05/0.6707, allocations: 0 / 0.6795 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09495/0.7656, allocations: 23.36 MB / 0.7023 GB, free: 12.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.7657, allocations: 90.45 kB / 0.7024 GB, free: 12.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.7684, allocations: 1.77 MB / 0.7041 GB, free: 10.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007296/0.7691, allocations: 89.7 kB / 0.7042 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.7703, allocations: 1.352 MB / 0.7055 GB, free: 9.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/0.7721, allocations: 1.367 MB / 0.7069 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/0.7742, allocations: 0.7798 MB / 0.7076 GB, free: 7.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7743, allocations: 305.1 kB / 0.7079 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/0.778, allocations: 1.839 MB / 0.7097 GB, free: 5.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004644/0.7826, allocations: 2.843 MB / 0.7125 GB, free: 1.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009686/0.7923, allocations: 4.979 MB / 0.7174 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.535e-05/0.7924, allocations: 8 kB / 0.7174 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02125/0.8136, allocations: 6.837 MB / 0.724 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.8137, allocations: 19.94 kB / 0.7241 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.239e-05/0.8137, allocations: 32 kB / 0.7241 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/0.8246, allocations: 2.291 MB / 0.7263 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/0.8284, allocations: 0.8931 MB / 0.7272 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2619/1.09, allocations: 17.55 MB / 0.7443 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/1.093, allocations: 136.8 kB / 0.7445 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/1.094, allocations: 230.8 kB / 0.7447 GB, free: 161 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.001546/1.096, allocations: 0.6079 MB / 0.7453 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007525/1.096, allocations: 291.6 kB / 0.7456 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/1.113, allocations: 6.574 MB / 0.752 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-05/1.113, allocations: 42.38 kB / 0.752 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.564e-05/1.113, allocations: 8.062 kB / 0.752 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001471/1.113, allocations: 24.23 kB / 0.752 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.137, allocations: 10.1 MB / 0.7619 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/1.137, allocations: 6.438 kB / 0.7619 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/1.14, allocations: 0.6523 MB / 0.7626 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008378/1.148, allocations: 2.008 MB / 0.7645 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006785/1.149, allocations: 135.9 kB / 0.7646 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/1.167, allocations: 16.19 MB / 0.7805 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.167, allocations: 11.84 kB / 0.7805 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.185, allocations: 8.51 MB / 0.7888 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/1.187, allocations: 0.6502 MB / 0.7894 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009092/1.188, allocations: 78.25 kB / 0.7895 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.19, allocations: 98.19 kB / 0.7896 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009464/1.191, allocations: 353.1 kB / 0.7899 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005443/1.192, allocations: 161 kB / 0.7901 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001554/1.193, allocations: 1.126 MB / 0.7912 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.193, allocations: 0 / 0.7912 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006936/1.2, allocations: 2.206 MB / 0.7933 GB, free: 133.7 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.02231/1.222, allocations: 11.23 MB / 0.8043 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009324/1.232, allocations: 5.597 MB / 0.8098 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.232, allocations: 3.938 kB / 0.8098 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/1.237, allocations: 3.341 MB / 0.813 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/1.24, allocations: 0.5521 MB / 0.8136 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05895/1.299, allocations: 31.31 MB / 0.8441 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.301, allocations: 1.333 MB / 0.8454 GB, free: 79.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002423/1.303, allocations: 0.6655 MB / 0.8461 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.305, allocations: 1.553 MB / 0.8476 GB, free: 77.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/1.305, allocations: 0 / 0.8476 GB, free: 77.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3947/1.699, allocations: 116.7 MB / 0.9615 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.07/19.77, allocations: 3.922 kB / 0.9616 GB, free: 193.4 MB / 0.5919 GB " [Timeout remaining time 640] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.700320803007344] Failed to read output from testmodel.py, exit status != 0: 19.952847684995504 19.972001989 19.404548018 Calling exit ...