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: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08229/0.08229, allocations: 15.29 MB / 31.59 MB, free: 4.137 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.001102/0.001102, allocations: 98.83 kB / 36.59 MB, free: 3.18 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.001229/0.001229, allocations: 195.3 kB / 41.7 MB, free: 7.133 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.363/1.363, allocations: 222.9 MB / 269.6 MB, free: 6.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1313/0.1313, allocations: 23.36 MB / 347.3 MB, free: 0.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 111.8 kB / 479.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 59.36 MB / 0.5263 GB, free: 8.078 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.03114/0.3338, allocations: 23.74 MB / 0.5494 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3356, allocations: 0.7782 MB / 0.5502 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.3358, allocations: 11.94 kB / 0.5502 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.336, allocations: 89.55 kB / 0.5503 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.3363, allocations: 185.5 kB / 0.5505 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3366, allocations: 95.8 kB / 0.5506 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.3371, allocations: 0.5581 MB / 0.5511 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.3374, allocations: 161.9 kB / 0.5513 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.3376, allocations: 196.3 kB / 0.5515 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.3379, allocations: 204 kB / 0.5516 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.3379, allocations: 32 kB / 0.5517 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.693e-05/0.338, allocations: 36 kB / 0.5517 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.3381, allocations: 72.97 kB / 0.5518 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3383, allocations: 236.5 kB / 0.552 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.3388, allocations: 465 kB / 0.5525 GB, free: 8.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3388, allocations: 0 / 0.5525 GB, free: 8.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3388, allocations: 0 / 0.5525 GB, free: 8.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.3388, allocations: 3.938 kB / 0.5525 GB, free: 8.879 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.001046/0.3399, allocations: 0.7418 MB / 0.5532 GB, free: 8.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3399, allocations: 8.688 kB / 0.5532 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.34, allocations: 52.61 kB / 0.5532 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.3405, allocations: 343.2 kB / 0.5536 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.3405, allocations: 20.94 kB / 0.5536 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.3405, allocations: 24.94 kB / 0.5536 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.341, allocations: 253.4 kB / 0.5538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.341, allocations: 12.5 kB / 0.5539 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3411, allocations: 12 kB / 0.5539 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3411, allocations: 8 kB / 0.5539 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.3415, allocations: 194.6 kB / 0.5541 GB, free: 7.281 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.001747/0.3432, allocations: 1.547 MB / 0.5556 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.3436, allocations: 223.1 kB / 0.5558 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3439, allocations: 143.5 kB / 0.5559 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3439, allocations: 8.172 kB / 0.5559 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3439, allocations: 35.55 kB / 0.556 GB, free: 5.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.3439, allocations: 0 / 0.556 GB, free: 5.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005825/0.3445, allocations: 312.8 kB / 0.5563 GB, free: 5.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3445, allocations: 55.41 kB / 0.5563 GB, free: 4.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.3449, allocations: 330.9 kB / 0.5566 GB, free: 4.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3449, allocations: 29.7 kB / 0.5567 GB, free: 4.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.345, allocations: 194.8 kB / 0.5568 GB, free: 4.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.3451, allocations: 99.8 kB / 0.5569 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.3452, allocations: 41.14 kB / 0.557 GB, free: 4.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3453, allocations: 351.1 kB / 0.5573 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3455, allocations: 69.91 kB / 0.5574 GB, free: 3.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3456, allocations: 73.7 kB / 0.5575 GB, free: 3.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.3468, allocations: 394.6 kB / 0.5578 GB, free: 3.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3468, allocations: 0 / 0.5578 GB, free: 3.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000443/0.3472, allocations: 264.2 kB / 0.5581 GB, free: 3.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3473, allocations: 4.703 kB / 0.5581 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3473, allocations: 0 / 0.5581 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3473, allocations: 4 kB / 0.5581 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.3476, allocations: 50.73 kB / 0.5581 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3476, allocations: 4 kB / 0.5581 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3478, allocations: 23.78 kB / 0.5582 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3478, allocations: 8.984 kB / 0.5582 GB, free: 3.141 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.0002338/0.3481, allocations: 164.8 kB / 0.5583 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.3481, allocations: 43.77 kB / 0.5584 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3483, allocations: 45.84 kB / 0.5584 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3483, allocations: 4.938 kB / 0.5584 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3483, allocations: 3.938 kB / 0.5584 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.3484, allocations: 133.9 kB / 0.5586 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.3485, allocations: 8 kB / 0.5586 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3487, allocations: 8.672 kB / 0.5586 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.3487, allocations: 17.34 kB / 0.5586 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006424/0.3494, allocations: 341.7 kB / 0.5589 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007245/0.3501, allocations: 0.5382 MB / 0.5594 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001836/0.3503, allocations: 104.9 kB / 0.5595 GB, free: 1.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002555/0.3506, allocations: 230.2 kB / 0.5598 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.3506, allocations: 0 / 0.5598 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.3512, allocations: 202.1 kB / 0.56 GB, free: 1.391 MB / 398.1 MB Notification: Performance of SimCode: time 0.001729/0.3529, allocations: 1.314 MB / 0.5612 GB, free: 88 kB / 398.1 MB Notification: Performance of Templates: time 0.008216/0.3612, allocations: 4.583 MB / 0.5657 GB, free: 11.74 MB / 414.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1)