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.001393/0.001393, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002068/0.002068, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.809 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.1382/0.1382, allocations: 23.99 MB / 336.4 MB, free: 10.88 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.002084/0.002084, allocations: 71.89 kB / 471.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 59.89 MB / 0.5187 GB, free: 9.555 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.07953/0.4155, allocations: 33.42 MB / 0.5514 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05787/0.4733, allocations: 41.75 MB / 0.5922 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/0.477, allocations: 55.56 kB / 0.5922 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003799/0.4808, allocations: 0.9226 MB / 0.5931 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.4938, allocations: 3.713 MB / 0.5967 GB, free: 9.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01829/0.512, allocations: 6.493 MB / 0.6031 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007401/0.5194, allocations: 4.531 MB / 0.6075 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.5229, allocations: 2.215 MB / 0.6097 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.5264, allocations: 2.288 MB / 0.6119 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004415/0.5309, allocations: 2.339 MB / 0.6142 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.5323, allocations: 420 kB / 0.6146 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.015/0.5473, allocations: 5.027 MB / 0.6195 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001936/0.5492, allocations: 0.9932 MB / 0.6205 GB, free: 1.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003536/0.5527, allocations: 1.732 MB / 0.6222 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02572/0.5785, allocations: 10.2 MB / 0.6321 GB, free: 5.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5785, allocations: 0 / 0.6321 GB, free: 5.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5785, allocations: 3.938 kB / 0.6321 GB, free: 5.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002087/0.5787, allocations: 4 kB / 0.6321 GB, free: 5.312 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.01431/0.593, allocations: 4.757 MB / 0.6368 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.593, allocations: 8.031 kB / 0.6368 GB, free: 500 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001447/0.5945, allocations: 426.7 kB / 0.6372 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.5995, allocations: 0.8482 MB / 0.638 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.6046, allocations: 1.616 MB / 0.6396 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/0.6051, allocations: 349.7 kB / 0.6399 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.6068, allocations: 328.8 kB / 0.6402 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.6197, allocations: 4.543 MB / 0.6447 GB, free: 8.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.6198, allocations: 7.938 kB / 0.6447 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.6209, allocations: 132 kB / 0.6448 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.621, allocations: 76 kB / 0.6449 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.6337, allocations: 6.169 MB / 0.6509 GB, free: 1.855 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.03108/0.6647, allocations: 12.03 MB / 0.6626 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.6755, allocations: 5.309 MB / 0.6678 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00437/0.6798, allocations: 2.063 MB / 0.6698 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02417/0.704, allocations: 9.13 MB / 0.6788 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.831e-05/0.7041, allocations: 64.78 kB / 0.6788 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002408/0.7065, allocations: 461.8 kB / 0.6793 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.533e-05/0.7065, allocations: 0 / 0.6793 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09653/0.803, allocations: 23.35 MB / 0.7021 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.8031, allocations: 90.45 kB / 0.7022 GB, free: 13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00299/0.8061, allocations: 1.774 MB / 0.7039 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007574/0.8069, allocations: 93.7 kB / 0.704 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.8081, allocations: 1.344 MB / 0.7053 GB, free: 9.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/0.81, allocations: 1.363 MB / 0.7066 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002091/0.8121, allocations: 0.7876 MB / 0.7074 GB, free: 7.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8122, allocations: 305.1 kB / 0.7077 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00369/0.8159, allocations: 1.843 MB / 0.7095 GB, free: 5.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/0.8209, allocations: 2.843 MB / 0.7123 GB, free: 2.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009304/0.8302, allocations: 4.975 MB / 0.7171 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-05/0.8303, allocations: 11.94 kB / 0.7171 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02214/0.8524, allocations: 6.849 MB / 0.7238 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.8525, allocations: 16 kB / 0.7238 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.798e-05/0.8525, allocations: 32 kB / 0.7239 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/0.8641, allocations: 2.284 MB / 0.7261 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/0.8682, allocations: 0.8893 MB / 0.727 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2866/1.155, allocations: 17.55 MB / 0.7441 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/1.158, allocations: 138.3 kB / 0.7442 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.16, allocations: 228.7 kB / 0.7444 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.002032/1.162, allocations: 0.6052 MB / 0.745 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008499/1.163, allocations: 291.4 kB / 0.7453 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/1.181, allocations: 6.588 MB / 0.7518 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.596e-05/1.181, allocations: 40.53 kB / 0.7518 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-05/1.181, allocations: 6.25 kB / 0.7518 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001364/1.181, allocations: 21.09 kB / 0.7518 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/1.208, allocations: 10.09 MB / 0.7617 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/1.208, allocations: 3.406 kB / 0.7617 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003409/1.211, allocations: 0.6601 MB / 0.7623 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009651/1.221, allocations: 2.016 MB / 0.7643 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008231/1.222, allocations: 133.8 kB / 0.7644 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/1.241, allocations: 16.18 MB / 0.7802 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.241, allocations: 8.219 kB / 0.7802 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/1.261, allocations: 8.517 MB / 0.7885 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.264, allocations: 0.6475 MB / 0.7892 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008306/1.264, allocations: 86.19 kB / 0.7893 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.267, allocations: 94.66 kB / 0.7893 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009058/1.268, allocations: 356.3 kB / 0.7897 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004489/1.268, allocations: 158.8 kB / 0.7898 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001404/1.27, allocations: 1.127 MB / 0.7909 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.27, allocations: 0 / 0.7909 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006568/1.276, allocations: 2.206 MB / 0.7931 GB, free: 134.1 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.02381/1.3, allocations: 11.22 MB / 0.804 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.311, allocations: 5.597 MB / 0.8095 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.311, allocations: 0 / 0.8095 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006759/1.318, allocations: 3.353 MB / 0.8128 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004203/1.322, allocations: 0.5467 MB / 0.8133 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06318/1.386, allocations: 31.3 MB / 0.8439 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.387, allocations: 1.34 MB / 0.8452 GB, free: 80.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003178/1.39, allocations: 0.6648 MB / 0.8459 GB, free: 79.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.393, allocations: 1.542 MB / 0.8474 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/1.393, allocations: 0 / 0.8474 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4354/1.828, allocations: 115.4 MB / 0.96 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/21.2, allocations: 10.59 kB / 0.9601 GB, free: 191.8 MB / 0.5919 GB " [Timeout remaining time 639] (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: 24.190217118244618] Failed to read output from testmodel.py, exit status != 0: 21.396647163201123 21.420268315 20.837331409 Calling exit ...