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.0923/0.0923, allocations: 15.28 MB / 30.92 MB, free: 4.156 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.001252/0.001252, allocations: 103.5 kB / 35.92 MB, free: 3.195 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.001451/0.001451, allocations: 191.3 kB / 41.02 MB, free: 7.145 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.475/1.475, allocations: 222.9 MB / 268.9 MB, free: 6.883 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.146/0.146, allocations: 23.35 MB / 346.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003284/0.003285, allocations: 108 kB / 478.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3426, allocations: 59.36 MB / 0.5251 GB, free: 7.77 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.0331/0.3757, allocations: 24.04 MB / 0.5486 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.3778, allocations: 0.778 MB / 0.5493 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.378, allocations: 11.94 kB / 0.5494 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3782, allocations: 82.11 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.3786, allocations: 189.7 kB / 0.5496 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.3788, allocations: 87.16 kB / 0.5497 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.3794, allocations: 0.5544 MB / 0.5502 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.3798, allocations: 170 kB / 0.5504 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3801, allocations: 191.9 kB / 0.5506 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.3803, allocations: 196.2 kB / 0.5508 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3804, allocations: 36 kB / 0.5508 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.3805, allocations: 32 kB / 0.5508 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.3806, allocations: 77.38 kB / 0.5509 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3808, allocations: 228.5 kB / 0.5511 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.3814, allocations: 476 kB / 0.5516 GB, free: 8.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3814, allocations: 0.5156 kB / 0.5516 GB, free: 8.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.3814, allocations: 0 / 0.5516 GB, free: 8.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3814, allocations: 3.938 kB / 0.5516 GB, free: 8.574 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.001202/0.3826, allocations: 0.7423 MB / 0.5523 GB, free: 7.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3827, allocations: 8.031 kB / 0.5523 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.355e-05/0.3827, allocations: 65.12 kB / 0.5524 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.3828, allocations: 53.22 kB / 0.5524 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.3833, allocations: 343.5 kB / 0.5528 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.3833, allocations: 20.94 kB / 0.5528 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.3834, allocations: 24.38 kB / 0.5528 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.3839, allocations: 253.7 kB / 0.553 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3839, allocations: 7.953 kB / 0.5531 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.3839, allocations: 8.656 kB / 0.5531 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.3839, allocations: 12 kB / 0.5531 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.3844, allocations: 194.4 kB / 0.5533 GB, free: 6.914 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.001977/0.3864, allocations: 1.543 MB / 0.5548 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.3868, allocations: 224.6 kB / 0.555 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.3871, allocations: 151.5 kB / 0.5551 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3871, allocations: 4.844 kB / 0.5551 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3871, allocations: 34.8 kB / 0.5552 GB, free: 4.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.412e-06/0.3871, allocations: 0 / 0.5552 GB, free: 4.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.000636/0.3878, allocations: 317 kB / 0.5555 GB, free: 4.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3878, allocations: 55.34 kB / 0.5555 GB, free: 4.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.3882, allocations: 323.2 kB / 0.5558 GB, free: 4.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3882, allocations: 29.7 kB / 0.5559 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3884, allocations: 206.3 kB / 0.556 GB, free: 4.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3885, allocations: 95.97 kB / 0.5561 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/0.3886, allocations: 49.17 kB / 0.5562 GB, free: 3.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3888, allocations: 350.8 kB / 0.5565 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.389, allocations: 65.67 kB / 0.5566 GB, free: 3.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3891, allocations: 70.31 kB / 0.5566 GB, free: 3.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.3903, allocations: 398.7 kB / 0.557 GB, free: 3.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3903, allocations: 0 / 0.557 GB, free: 3.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005481/0.3909, allocations: 260.1 kB / 0.5573 GB, free: 2.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3909, allocations: 7.438 kB / 0.5573 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3909, allocations: 0.5625 kB / 0.5573 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3909, allocations: 4 kB / 0.5573 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.3912, allocations: 54.55 kB / 0.5573 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3912, allocations: 0 / 0.5573 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3914, allocations: 20.64 kB / 0.5574 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3914, allocations: 12 kB / 0.5574 GB, free: 2.77 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.0002589/0.3917, allocations: 166.5 kB / 0.5575 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.3917, allocations: 43.7 kB / 0.5576 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.3918, allocations: 48.91 kB / 0.5576 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3919, allocations: 8 kB / 0.5576 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3919, allocations: 0 / 0.5576 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3919, allocations: 1.828 kB / 0.5576 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.3924, allocations: 406.5 kB / 0.558 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3924, allocations: 0 / 0.558 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.3927, allocations: 45.98 kB / 0.5581 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.3928, allocations: 4 kB / 0.5581 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.3928, allocations: 4.75 kB / 0.5581 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3928, allocations: 0 / 0.5581 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3928, allocations: 7.984 kB / 0.5581 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.3935, allocations: 479.8 kB / 0.5585 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.3937, allocations: 134.1 kB / 0.5587 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.3938, allocations: 8 kB / 0.5587 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3939, allocations: 8 kB / 0.5587 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.394, allocations: 14.05 kB / 0.5587 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.394, allocations: 8 kB / 0.5587 GB, free: 1.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.3943, allocations: 234.7 kB / 0.5589 GB, free: 1.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3943, allocations: 0 / 0.5589 GB, free: 1.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.3946, allocations: 95.89 kB / 0.559 GB, free: 1.145 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.001065/0.3957, allocations: 1.014 MB / 0.56 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.3963, allocations: 203.6 kB / 0.5602 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3963, allocations: 0 / 0.5602 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.3965, allocations: 111.5 kB / 0.5603 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.3972, allocations: 105.4 kB / 0.5604 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.4015, allocations: 3.162 MB / 0.5635 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.4019, allocations: 0.7965 MB / 0.5643 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.4021, allocations: 38.94 kB / 0.5643 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.4023, allocations: 123.3 kB / 0.5644 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4023, allocations: 0 / 0.5644 GB, free: 11.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.436, allocations: 7.477 MB / 0.5717 GB, free: 4.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.871, allocations: 8.125 kB / 0.5717 GB, free: 4.371 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)