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.001267/0.001267, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001349/0.001349, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1434/0.1434, allocations: 23.85 MB / 332.7 MB, free: 12.34 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.002034/0.002034, allocations: 59.91 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2921, allocations: 59.82 MB / 0.5135 GB, free: 8.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.04945/0.3416, allocations: 34.92 MB / 0.5476 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0881/0.4297, allocations: 47.64 MB / 0.5941 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.4332, allocations: 51.56 kB / 0.5941 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.4374, allocations: 1.02 MB / 0.5951 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.451, allocations: 3.744 MB / 0.5988 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.4681, allocations: 6.415 MB / 0.6051 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007187/0.4753, allocations: 4.539 MB / 0.6095 GB, free: 8.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.4786, allocations: 2.273 MB / 0.6117 GB, free: 6.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.4826, allocations: 2.288 MB / 0.614 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004442/0.487, allocations: 2.624 MB / 0.6165 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.4881, allocations: 420 kB / 0.6169 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/0.5035, allocations: 5.355 MB / 0.6221 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.505, allocations: 0.9971 MB / 0.6231 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.5076, allocations: 2.03 MB / 0.6251 GB, free: 8.664 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02164/0.5293, allocations: 10.23 MB / 0.6351 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5293, allocations: 0 / 0.6351 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5293, allocations: 0 / 0.6351 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.5294, allocations: 0 / 0.6351 GB, free: 14.39 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.01185/0.5413, allocations: 4.852 MB / 0.6398 GB, free: 9.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5413, allocations: 8.031 kB / 0.6398 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005966/0.5419, allocations: 430.7 kB / 0.6402 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/0.546, allocations: 0.8449 MB / 0.6411 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.549, allocations: 1.688 MB / 0.6427 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.5493, allocations: 294.3 kB / 0.643 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00066/0.55, allocations: 336.2 kB / 0.6433 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008072/0.5581, allocations: 4.511 MB / 0.6477 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.494e-05/0.5581, allocations: 3.938 kB / 0.6477 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003642/0.5585, allocations: 128 kB / 0.6479 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.75e-05/0.5585, allocations: 76 kB / 0.6479 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.5693, allocations: 6.169 MB / 0.654 GB, free: 10.84 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.02917/0.5985, allocations: 14.12 MB / 0.6677 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.6095, allocations: 6.128 MB / 0.6737 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/0.6136, allocations: 2.059 MB / 0.6757 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02395/0.6375, allocations: 14.91 MB / 0.6903 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.6376, allocations: 60.8 kB / 0.6904 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002118/0.6397, allocations: 469.7 kB / 0.6908 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.102e-06/0.6397, allocations: 3.938 kB / 0.6908 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.09762/0.7373, allocations: 23.86 MB / 0.7141 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.7374, allocations: 94.45 kB / 0.7142 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.74, allocations: 1.712 MB / 0.7159 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008089/0.7408, allocations: 93.7 kB / 0.716 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.7424, allocations: 1.34 MB / 0.7173 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002297/0.7447, allocations: 1.375 MB / 0.7186 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.7467, allocations: 0.7798 MB / 0.7194 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7468, allocations: 305.1 kB / 0.7197 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/0.7507, allocations: 1.82 MB / 0.7214 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00458/0.7552, allocations: 2.827 MB / 0.7242 GB, free: 76 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2514/1.007, allocations: 4.928 MB / 0.729 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/1.007, allocations: 11.48 kB / 0.729 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01953/1.026, allocations: 6.799 MB / 0.7357 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/1.026, allocations: 17.72 kB / 0.7357 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.449e-05/1.026, allocations: 29.5 kB / 0.7357 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/1.038, allocations: 2.28 MB / 0.7379 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/1.042, allocations: 0.8914 MB / 0.7388 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/1.066, allocations: 18.4 MB / 0.7568 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/1.069, allocations: 136.4 kB / 0.7569 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/1.07, allocations: 231.7 kB / 0.7571 GB, free: 152.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.001281/1.071, allocations: 0.605 MB / 0.7577 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007472/1.072, allocations: 285.8 kB / 0.758 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/1.089, allocations: 6.551 MB / 0.7644 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/1.089, allocations: 41.03 kB / 0.7644 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.089, allocations: 4.844 kB / 0.7644 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.84e-05/1.089, allocations: 23.72 kB / 0.7645 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/1.11, allocations: 10.62 MB / 0.7748 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.11, allocations: 3.969 kB / 0.7748 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/1.113, allocations: 0.6501 MB / 0.7755 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00958/1.123, allocations: 2.024 MB / 0.7774 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000728/1.123, allocations: 136.3 kB / 0.7776 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/1.142, allocations: 17.03 MB / 0.7942 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.142, allocations: 3.906 kB / 0.7942 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.159, allocations: 8.461 MB / 0.8025 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.161, allocations: 0.7119 MB / 0.8032 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/1.161, allocations: 83.98 kB / 0.8032 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.163, allocations: 94.66 kB / 0.8033 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00065/1.164, allocations: 341.3 kB / 0.8037 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/1.164, allocations: 159.9 kB / 0.8038 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001129/1.165, allocations: 1.113 MB / 0.8049 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.165, allocations: 0 / 0.8049 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005356/1.17, allocations: 2.209 MB / 0.8071 GB, free: 115.9 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.02035/1.191, allocations: 11.18 MB / 0.818 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.201, allocations: 5.564 MB / 0.8234 GB, free: 99.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.201, allocations: 0 / 0.8234 GB, free: 99.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005563/1.206, allocations: 3.333 MB / 0.8267 GB, free: 96.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.209, allocations: 0.5524 MB / 0.8272 GB, free: 95.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05439/1.263, allocations: 31.18 MB / 0.8576 GB, free: 63.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.264, allocations: 1.882 MB / 0.8595 GB, free: 61.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002373/1.267, allocations: 0.6698 MB / 0.8601 GB, free: 61.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.269, allocations: 1.553 MB / 0.8617 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/1.269, allocations: 0 / 0.8617 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3938/1.662, allocations: 112.6 MB / 0.9716 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.8/52.46, allocations: 7.141 kB / 0.9717 GB, free: 189.1 MB / 0.5919 GB " [Timeout remaining time 607] (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: 55.590306262995] Failed to read output from testmodel.py, exit status != 0: 52.628209155998775 52.643592606 52.111063974 Calling exit ...