Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09261/0.09261, allocations: 15.28 MB / 30.91 MB, free: 4.148 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 107.7 kB / 35.92 MB, free: 3.184 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 193.1 kB / 41.02 MB, free: 7.129 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 268.9 MB, free: 6.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1462/0.1462, allocations: 23.36 MB / 346.6 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003183/0.003183, allocations: 115.8 kB / 478.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3967, allocations: 59.35 MB / 0.5251 GB, free: 7.797 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312: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/Physiolibrary 3.0.0/Thermal.mo:312:7-312: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(Physiolibrary.Thermal.Examples.ThermalBody_QHP): time 0.03843/0.4351, allocations: 24.11 MB / 0.5486 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.4377, allocations: 0.7865 MB / 0.5494 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.438, allocations: 11.94 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.4383, allocations: 82.16 kB / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.4387, allocations: 190.2 kB / 0.5497 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.4389, allocations: 87.31 kB / 0.5498 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006652/0.4396, allocations: 0.5587 MB / 0.5503 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.4399, allocations: 126.5 kB / 0.5504 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.4401, allocations: 183.5 kB / 0.5506 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.4404, allocations: 204 kB / 0.5508 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.4405, allocations: 32 kB / 0.5508 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.4406, allocations: 32 kB / 0.5509 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.4407, allocations: 89.36 kB / 0.5509 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.4409, allocations: 224.9 kB / 0.5512 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.4416, allocations: 468.1 kB / 0.5516 GB, free: 8.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4416, allocations: 0 / 0.5516 GB, free: 8.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4416, allocations: 0 / 0.5516 GB, free: 8.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.4416, allocations: 0.7031 kB / 0.5516 GB, free: 8.566 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001215/0.4428, allocations: 0.7453 MB / 0.5523 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4429, allocations: 12.73 kB / 0.5523 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.965e-05/0.443, allocations: 61.17 kB / 0.5524 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.4431, allocations: 52.61 kB / 0.5524 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.4436, allocations: 348 kB / 0.5528 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.4436, allocations: 16.94 kB / 0.5528 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.4436, allocations: 28.38 kB / 0.5528 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.4442, allocations: 254 kB / 0.5531 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.4442, allocations: 3.953 kB / 0.5531 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.4442, allocations: 12 kB / 0.5531 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4442, allocations: 8 kB / 0.5531 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.4446, allocations: 190.7 kB / 0.5533 GB, free: 6.906 MB / 398.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.002076/0.4467, allocations: 1.555 MB / 0.5548 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.4471, allocations: 198.8 kB / 0.555 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.4474, allocations: 123 kB / 0.5551 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.4474, allocations: 4.234 kB / 0.5551 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.4474, allocations: 39.34 kB / 0.5551 GB, free: 4.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.4474, allocations: 0 / 0.5551 GB, free: 4.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.000681/0.4481, allocations: 313 kB / 0.5554 GB, free: 4.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.4482, allocations: 55.41 kB / 0.5555 GB, free: 4.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.4486, allocations: 327 kB / 0.5558 GB, free: 4.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.4486, allocations: 33.64 kB / 0.5558 GB, free: 4.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.4488, allocations: 199.1 kB / 0.556 GB, free: 4.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4489, allocations: 99.05 kB / 0.5561 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.449, allocations: 41.66 kB / 0.5562 GB, free: 3.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4492, allocations: 350.2 kB / 0.5565 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.4493, allocations: 70.05 kB / 0.5566 GB, free: 3.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.4495, allocations: 74.31 kB / 0.5566 GB, free: 3.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.4506, allocations: 395 kB / 0.557 GB, free: 3.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4506, allocations: 0 / 0.557 GB, free: 3.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004654/0.4511, allocations: 263.7 kB / 0.5573 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4511, allocations: 7.766 kB / 0.5573 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4511, allocations: 3.984 kB / 0.5573 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4511, allocations: 4 kB / 0.5573 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.4514, allocations: 50.17 kB / 0.5573 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4514, allocations: 0.6562 kB / 0.5573 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.4516, allocations: 27.78 kB / 0.5573 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.4516, allocations: 12 kB / 0.5574 GB, free: 2.793 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = "J" fixed = true nominal = 4.1868e6 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = "J" fixed = true nominal = 4.1868e6 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4.1868e6 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.relativeHeat_start unit = "J" fixed = true nominal = 4.1868e6 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.4519, allocations: 163.7 kB / 0.5575 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.4519, allocations: 44.36 kB / 0.5576 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.452, allocations: 44.86 kB / 0.5576 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.452, allocations: 8 kB / 0.5576 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4521, allocations: 0.9375 kB / 0.5576 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4521, allocations: 0.8906 kB / 0.5576 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.4526, allocations: 399.2 kB / 0.558 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4526, allocations: 0 / 0.558 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.4529, allocations: 49.61 kB / 0.558 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4529, allocations: 4 kB / 0.558 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.4529, allocations: 4.844 kB / 0.558 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4529, allocations: 0 / 0.558 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4529, allocations: 0 / 0.558 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.4537, allocations: 479.9 kB / 0.5585 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.4538, allocations: 133.4 kB / 0.5586 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.4539, allocations: 4.891 kB / 0.5586 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.454, allocations: 4 kB / 0.5586 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.4541, allocations: 21.33 kB / 0.5587 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.4541, allocations: 4 kB / 0.5587 GB, free: 1.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.4544, allocations: 230.4 kB / 0.5589 GB, free: 1.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4544, allocations: 0 / 0.5589 GB, free: 1.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.4547, allocations: 103.8 kB / 0.559 GB, free: 1.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.relativeHeat,GILumen.relativeHeat,skeletalMuscle.relativeHeat,skin.relativeHeat) * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.4558, allocations: 1.007 MB / 0.56 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.4562, allocations: 197.9 kB / 0.5602 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4562, allocations: 432 / 0.5602 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.4564, allocations: 102.7 kB / 0.5603 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.4571, allocations: 104.1 kB / 0.5604 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.4615, allocations: 3.174 MB / 0.5635 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.462, allocations: 0.8026 MB / 0.5642 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.4621, allocations: 30.97 kB / 0.5643 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.4623, allocations: 119.3 kB / 0.5644 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4623, allocations: 0 / 0.5644 GB, free: 11.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.4948, allocations: 7.521 MB / 0.5717 GB, free: 4.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/8.995, allocations: 11.22 kB / 0.5717 GB, free: 4.359 MB / 414.1 MB (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1)