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.001882/0.001882, allocations: 102.4 kB / 16.45 MB, free: 6.449 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.002127/0.002127, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1429/0.1429, allocations: 23.89 MB / 332.7 MB, free: 12.31 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.002005/0.002005, allocations: 68.14 kB / 466 MB, free: 10 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3558, allocations: 59.83 MB / 0.5135 GB, free: 8.828 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.05628/0.4121, allocations: 35.1 MB / 0.5478 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.08675/0.4988, allocations: 47.63 MB / 0.5943 GB, free: 8.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004271/0.5031, allocations: 55.5 kB / 0.5944 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004955/0.508, allocations: 1.028 MB / 0.5954 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.524, allocations: 3.732 MB / 0.599 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02118/0.5451, allocations: 6.419 MB / 0.6053 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009198/0.5543, allocations: 4.543 MB / 0.6097 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004858/0.5592, allocations: 2.273 MB / 0.612 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006296/0.5655, allocations: 2.28 MB / 0.6142 GB, free: 3.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005532/0.571, allocations: 2.62 MB / 0.6168 GB, free: 1.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.573, allocations: 420 kB / 0.6172 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01836/0.5913, allocations: 5.355 MB / 0.6224 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.5932, allocations: 0.9932 MB / 0.6234 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003943/0.5971, allocations: 2.03 MB / 0.6253 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02836/0.6255, allocations: 10.23 MB / 0.6353 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6255, allocations: 0 / 0.6353 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6255, allocations: 0 / 0.6353 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002442/0.6257, allocations: 0 / 0.6353 GB, free: 14.16 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.01376/0.6395, allocations: 4.848 MB / 0.6401 GB, free: 9.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6395, allocations: 8.031 kB / 0.6401 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001219/0.6407, allocations: 426.7 kB / 0.6405 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/0.6454, allocations: 0.8449 MB / 0.6413 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/0.6492, allocations: 1.688 MB / 0.643 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/0.6495, allocations: 298.3 kB / 0.6432 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.6506, allocations: 332.2 kB / 0.6436 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.6618, allocations: 4.511 MB / 0.648 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.6619, allocations: 3.938 kB / 0.648 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007713/0.6627, allocations: 132 kB / 0.6481 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.328e-05/0.6628, allocations: 80 kB / 0.6482 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/0.6756, allocations: 6.169 MB / 0.6542 GB, free: 10.61 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.03381/0.7094, allocations: 14.12 MB / 0.668 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.722, allocations: 6.136 MB / 0.674 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004558/0.7265, allocations: 2.052 MB / 0.676 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/0.7546, allocations: 14.91 MB / 0.6905 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/0.7547, allocations: 60.8 kB / 0.6906 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002377/0.7571, allocations: 469.7 kB / 0.691 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 1.147e-05/0.7571, allocations: 7.938 kB / 0.691 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.102/0.8591, allocations: 23.86 MB / 0.7144 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.8592, allocations: 94.39 kB / 0.7144 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.8622, allocations: 1.708 MB / 0.7161 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006456/0.8629, allocations: 89.7 kB / 0.7162 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.8642, allocations: 1.344 MB / 0.7175 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/0.8661, allocations: 1.375 MB / 0.7189 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/0.8681, allocations: 0.7759 MB / 0.7196 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8683, allocations: 309.1 kB / 0.7199 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/0.872, allocations: 1.824 MB / 0.7217 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2415/1.114, allocations: 2.811 MB / 0.7244 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009397/1.123, allocations: 4.936 MB / 0.7292 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/1.123, allocations: 8.062 kB / 0.7293 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02026/1.143, allocations: 6.796 MB / 0.7359 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.143, allocations: 18.58 kB / 0.7359 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/1.143, allocations: 28.72 kB / 0.7359 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/1.155, allocations: 2.281 MB / 0.7382 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003897/1.159, allocations: 0.8964 MB / 0.739 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/1.185, allocations: 18.4 MB / 0.757 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/1.188, allocations: 136 kB / 0.7571 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006609/1.189, allocations: 232.5 kB / 0.7574 GB, free: 150.9 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.001491/1.191, allocations: 0.6 MB / 0.758 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007701/1.191, allocations: 288.9 kB / 0.7582 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/1.209, allocations: 6.557 MB / 0.7646 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.05e-05/1.209, allocations: 42.09 kB / 0.7647 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-05/1.209, allocations: 3.969 kB / 0.7647 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/1.209, allocations: 23.12 kB / 0.7647 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.232, allocations: 10.62 MB / 0.7751 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.232, allocations: 3.938 kB / 0.7751 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/1.235, allocations: 0.6549 MB / 0.7757 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0089/1.244, allocations: 2.019 MB / 0.7777 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006399/1.244, allocations: 135.1 kB / 0.7778 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/1.263, allocations: 17.03 MB / 0.7944 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.263, allocations: 3.75 kB / 0.7945 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/1.282, allocations: 8.456 MB / 0.8027 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/1.283, allocations: 0.7163 MB / 0.8034 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004717/1.284, allocations: 86.66 kB / 0.8035 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.286, allocations: 91.97 kB / 0.8036 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/1.287, allocations: 341.3 kB / 0.8039 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/1.287, allocations: 159.9 kB / 0.8041 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001128/1.288, allocations: 1.113 MB / 0.8051 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.288, allocations: 0 / 0.8051 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005697/1.294, allocations: 2.209 MB / 0.8073 GB, free: 115.6 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.0211/1.315, allocations: 11.18 MB / 0.8182 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009753/1.325, allocations: 5.551 MB / 0.8236 GB, free: 99.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.325, allocations: 2.656 kB / 0.8236 GB, free: 99.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005647/1.33, allocations: 3.337 MB / 0.8269 GB, free: 95.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.333, allocations: 0.5593 MB / 0.8274 GB, free: 95.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06008/1.393, allocations: 31.17 MB / 0.8579 GB, free: 63.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/1.394, allocations: 1.886 MB / 0.8597 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003061/1.397, allocations: 0.6663 MB / 0.8604 GB, free: 61.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/1.4, allocations: 1.553 MB / 0.8619 GB, free: 59.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/1.4, allocations: 3.625 kB / 0.8619 GB, free: 59.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4285/1.828, allocations: 112.6 MB / 0.9719 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.37/52.2, allocations: 8.719 kB / 0.9719 GB, free: 189.2 MB / 0.5919 GB " [Timeout remaining time 608] (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 sys.exit(0), Time elapsed: 55.336785823106766] Failed to read output from testmodel.py, exit status != 0: 52.37803209410049 52.388596189 51.760607887 Calling exit ...