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.07861/0.07861, allocations: 15.29 MB / 31.59 MB, free: 4.141 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.001056/0.001056, allocations: 100.9 kB / 36.59 MB, free: 3.176 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.001143/0.001143, allocations: 198.5 kB / 41.7 MB, free: 7.141 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.348/1.348, allocations: 222.9 MB / 269.6 MB, free: 6.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1261/0.1261, allocations: 23.35 MB / 347.3 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 119.8 kB / 479.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3087, allocations: 59.35 MB / 0.5262 GB, free: 8.105 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.03011/0.3389, allocations: 23.6 MB / 0.5493 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3406, allocations: 0.7856 MB / 0.5501 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.3408, allocations: 11.94 kB / 0.5501 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3411, allocations: 78.08 kB / 0.5501 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.3414, allocations: 189.3 kB / 0.5503 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3416, allocations: 83.55 kB / 0.5504 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.3421, allocations: 0.5623 MB / 0.551 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.3424, allocations: 166.6 kB / 0.5511 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3426, allocations: 187.3 kB / 0.5513 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.3428, allocations: 200.3 kB / 0.5515 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.3429, allocations: 32 kB / 0.5515 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.343, allocations: 32 kB / 0.5515 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.343, allocations: 85.38 kB / 0.5516 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.3432, allocations: 233.7 kB / 0.5518 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.3437, allocations: 469.2 kB / 0.5523 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3437, allocations: 3.938 kB / 0.5523 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3437, allocations: 0 / 0.5523 GB, free: 9.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3437, allocations: 0 / 0.5523 GB, free: 9.043 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.001036/0.3448, allocations: 0.7225 MB / 0.553 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3448, allocations: 8.641 kB / 0.553 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.3449, allocations: 48.38 kB / 0.5531 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.3453, allocations: 347.1 kB / 0.5534 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3454, allocations: 24.94 kB / 0.5534 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.3454, allocations: 29.03 kB / 0.5534 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.3458, allocations: 258 kB / 0.5537 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3459, allocations: 0 / 0.5537 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.3459, allocations: 16 kB / 0.5537 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3459, allocations: 8 kB / 0.5537 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.3463, allocations: 186 kB / 0.5539 GB, free: 7.469 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.001662/0.3479, allocations: 1.551 MB / 0.5554 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.3483, allocations: 214.9 kB / 0.5556 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.3486, allocations: 151.7 kB / 0.5558 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3486, allocations: 4.234 kB / 0.5558 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3486, allocations: 31.55 kB / 0.5558 GB, free: 5.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.482e-06/0.3486, allocations: 0 / 0.5558 GB, free: 5.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005803/0.3492, allocations: 315.9 kB / 0.5561 GB, free: 5.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.3492, allocations: 56.02 kB / 0.5561 GB, free: 5.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.3496, allocations: 326.9 kB / 0.5565 GB, free: 4.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3496, allocations: 29.7 kB / 0.5565 GB, free: 4.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3497, allocations: 194.7 kB / 0.5567 GB, free: 4.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.3498, allocations: 98.39 kB / 0.5568 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.3499, allocations: 45.61 kB / 0.5568 GB, free: 4.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.35, allocations: 351.1 kB / 0.5571 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.3501, allocations: 66.05 kB / 0.5572 GB, free: 4.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3503, allocations: 69.44 kB / 0.5573 GB, free: 4.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3514, allocations: 395.1 kB / 0.5576 GB, free: 3.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3514, allocations: 4 kB / 0.5576 GB, free: 3.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004008/0.3518, allocations: 264.1 kB / 0.5579 GB, free: 3.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3519, allocations: 6.969 kB / 0.5579 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3519, allocations: 0 / 0.5579 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3519, allocations: 0.7969 kB / 0.5579 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.3522, allocations: 54.08 kB / 0.558 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3522, allocations: 0 / 0.558 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3523, allocations: 28.77 kB / 0.558 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3524, allocations: 8 kB / 0.558 GB, free: 3.332 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.0001895/0.3526, allocations: 162.7 kB / 0.5581 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.3526, allocations: 35.62 kB / 0.5582 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.3527, allocations: 48.67 kB / 0.5582 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3527, allocations: 6 kB / 0.5582 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3527, allocations: 3.938 kB / 0.5582 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3529, allocations: 132.8 kB / 0.5584 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.3529, allocations: 8.703 kB / 0.5584 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3531, allocations: 7.938 kB / 0.5584 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3532, allocations: 13.81 kB / 0.5584 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006155/0.3538, allocations: 338.1 kB / 0.5587 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006272/0.3544, allocations: 0.5459 MB / 0.5592 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001559/0.3546, allocations: 104.4 kB / 0.5593 GB, free: 1.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.3548, allocations: 230.9 kB / 0.5596 GB, free: 1.785 MB / 398.1 MB Notification: Performance of Backend: time 3.5e-07/0.3548, allocations: 0 / 0.5596 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000514/0.3553, allocations: 198 kB / 0.5598 GB, free: 1.594 MB / 398.1 MB Notification: Performance of SimCode: time 0.001477/0.3568, allocations: 1.308 MB / 0.561 GB, free: 300 kB / 398.1 MB Notification: Performance of Templates: time 0.00784/0.3647, allocations: 4.561 MB / 0.5655 GB, free: 11.96 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)