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.001401/0.001401, allocations: 110 kB / 16.46 MB, free: 6.508 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.001576/0.001576, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.1408/0.1408, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.002094/0.002094, allocations: 75.89 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3342, allocations: 59.81 MB / 0.5135 GB, free: 8.848 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.04718/0.3814, allocations: 35.11 MB / 0.5478 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06273/0.4441, allocations: 47.63 MB / 0.5943 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.4467, allocations: 47.62 kB / 0.5943 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.4499, allocations: 1.028 MB / 0.5953 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.4612, allocations: 3.732 MB / 0.599 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.4794, allocations: 6.419 MB / 0.6052 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007721/0.4872, allocations: 4.551 MB / 0.6097 GB, free: 8.527 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003914/0.4911, allocations: 2.269 MB / 0.6119 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.4952, allocations: 2.28 MB / 0.6141 GB, free: 3.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004805/0.5, allocations: 2.617 MB / 0.6167 GB, free: 1.293 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.5014, allocations: 420 kB / 0.6171 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.5179, allocations: 5.363 MB / 0.6223 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.5196, allocations: 0.9893 MB / 0.6233 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003565/0.5231, allocations: 2.03 MB / 0.6253 GB, free: 8.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02672/0.5499, allocations: 10.23 MB / 0.6353 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5499, allocations: 0 / 0.6353 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.952e-06/0.5499, allocations: 4 kB / 0.6353 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003112/0.5502, allocations: 0 / 0.6353 GB, free: 14.2 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.01562/0.5658, allocations: 4.837 MB / 0.64 GB, free: 9.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5659, allocations: 12.03 kB / 0.64 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/0.5672, allocations: 426.7 kB / 0.6404 GB, free: 8.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004952/0.5722, allocations: 0.8526 MB / 0.6412 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.5762, allocations: 1.692 MB / 0.6429 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/0.5766, allocations: 294.3 kB / 0.6432 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.5777, allocations: 336.2 kB / 0.6435 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.5879, allocations: 4.515 MB / 0.6479 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/0.588, allocations: 0 / 0.6479 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006091/0.5886, allocations: 128 kB / 0.648 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.076e-05/0.5887, allocations: 76 kB / 0.6481 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.601, allocations: 6.165 MB / 0.6541 GB, free: 10.66 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.03092/0.6319, allocations: 14.13 MB / 0.6679 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.6435, allocations: 6.128 MB / 0.6739 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/0.6481, allocations: 2.048 MB / 0.6759 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02921/0.6773, allocations: 14.91 MB / 0.6905 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.6774, allocations: 64.8 kB / 0.6905 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002271/0.6797, allocations: 473.7 kB / 0.691 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 8.566e-06/0.6797, allocations: 0 / 0.691 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.09728/0.777, allocations: 23.86 MB / 0.7143 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.777, allocations: 90.45 kB / 0.7144 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.7798, allocations: 1.716 MB / 0.716 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006473/0.7804, allocations: 85.7 kB / 0.7161 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.7815, allocations: 1.348 MB / 0.7174 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001798/0.7833, allocations: 1.367 MB / 0.7188 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002081/0.7854, allocations: 0.7837 MB / 0.7195 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7855, allocations: 317 kB / 0.7198 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.7891, allocations: 1.812 MB / 0.7216 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2315/1.021, allocations: 2.817 MB / 0.7244 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/1.034, allocations: 4.933 MB / 0.7292 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.027e-05/1.034, allocations: 10.53 kB / 0.7292 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.03561/1.07, allocations: 6.798 MB / 0.7358 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/1.07, allocations: 17.72 kB / 0.7359 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.979e-05/1.07, allocations: 35.19 kB / 0.7359 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02108/1.091, allocations: 2.282 MB / 0.7381 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006267/1.097, allocations: 0.895 MB / 0.739 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/1.125, allocations: 18.39 MB / 0.7569 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003846/1.128, allocations: 143.4 kB / 0.7571 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.129, allocations: 227 kB / 0.7573 GB, free: 151 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.002482/1.132, allocations: 0.6132 MB / 0.7579 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.133, allocations: 284.9 kB / 0.7582 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/1.155, allocations: 6.553 MB / 0.7646 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.553e-05/1.155, allocations: 43.38 kB / 0.7646 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-05/1.155, allocations: 5.156 kB / 0.7646 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001605/1.155, allocations: 20.41 kB / 0.7646 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/1.181, allocations: 10.62 MB / 0.775 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-05/1.181, allocations: 3.969 kB / 0.775 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/1.184, allocations: 0.6585 MB / 0.7757 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009428/1.194, allocations: 2.017 MB / 0.7776 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006986/1.194, allocations: 138.1 kB / 0.7778 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/1.214, allocations: 17.03 MB / 0.7944 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.214, allocations: 7.75 kB / 0.7944 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/1.233, allocations: 8.454 MB / 0.8026 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/1.236, allocations: 0.7198 MB / 0.8033 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.237, allocations: 80 kB / 0.8034 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/1.239, allocations: 98.62 kB / 0.8035 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009739/1.24, allocations: 345.2 kB / 0.8038 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005188/1.241, allocations: 155.9 kB / 0.804 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00148/1.242, allocations: 1.117 MB / 0.8051 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.242, allocations: 0 / 0.8051 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006793/1.249, allocations: 2.202 MB / 0.8072 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.02487/1.274, allocations: 11.18 MB / 0.8182 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.285, allocations: 5.558 MB / 0.8236 GB, free: 99.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.285, allocations: 0 / 0.8236 GB, free: 99.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006092/1.291, allocations: 3.336 MB / 0.8268 GB, free: 95.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/1.294, allocations: 0.5518 MB / 0.8274 GB, free: 95.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0659/1.36, allocations: 31.17 MB / 0.8578 GB, free: 63.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/1.362, allocations: 1.884 MB / 0.8597 GB, free: 61.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003531/1.366, allocations: 0.6723 MB / 0.8603 GB, free: 61.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/1.368, allocations: 1.546 MB / 0.8618 GB, free: 59.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/1.368, allocations: 0 / 0.8618 GB, free: 59.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4616/1.83, allocations: 112.6 MB / 0.9718 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.48/52.31, allocations: 1.125 kB / 0.9718 GB, free: 189.3 MB / 0.5919 GB " [Timeout remaining time 608] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 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.47128718206659] Failed to read output from testmodel.py, exit status != 0: 52.473078328883275 52.483174434 51.930923188 Calling exit ...