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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.0549/0.0549, allocations: 11.15 MB / 31.01 MB, free: 5.066 MB / 24.77 MB " [Timeout remaining time 180] 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.0007427/0.0007427, allocations: 83.73 kB / 38.58 MB, free: 7.641 MB / 33.03 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.0008765/0.0008765, allocations: 160.6 kB / 46.27 MB, free: 48 kB / 33.03 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 0.8438/0.8438, allocations: 177.1 MB / 231 MB, free: 6.547 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1863/0.1863, allocations: 17.62 MB / 309.5 MB, free: 1.75 MB / 266.7 MB " [Timeout remaining time 180] 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.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 454.4 MB, free: 5.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.376e-05, allocations: 2.281 kB / 454.4 MB, free: 5.512 MB / 410.7 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.1541/0.1542, allocations: 24.9 MB / 479.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1554, allocations: 0.7926 MB / 480 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1555, allocations: 17.66 kB / 480.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1557, allocations: 79.92 kB / 480.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1559, allocations: 202.3 kB / 480.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.156, allocations: 93.03 kB / 480.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.1563, allocations: 0.5837 MB / 481 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1565, allocations: 119.8 kB / 481.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1566, allocations: 285.8 kB / 481.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1567, allocations: 150.3 kB / 481.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.1568, allocations: 34.97 kB / 481.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.1568, allocations: 31.5 kB / 481.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.1569, allocations: 76.02 kB / 481.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.1569, allocations: 162.6 kB / 481.9 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1572, allocations: 469 kB / 482.3 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1572, allocations: 0 / 482.3 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1572, allocations: 0 / 482.3 MB, free: 42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1572, allocations: 1.406 kB / 482.3 MB, free: 42 MB / 410.7 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.00058/0.1578, allocations: 0.662 MB / 483 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1578, allocations: 13.16 kB / 483 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.1579, allocations: 53.27 kB / 483 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1581, allocations: 276.6 kB / 483.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1581, allocations: 21.25 kB / 483.3 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1582, allocations: 26.72 kB / 483.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1584, allocations: 249.9 kB / 483.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1584, allocations: 10.69 kB / 483.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1584, allocations: 8.375 kB / 483.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1584, allocations: 13.41 kB / 483.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.1587, allocations: 194.3 kB / 483.8 MB, free: 41.05 MB / 410.7 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.0007708/0.1594, allocations: 0.7532 MB / 484.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1597, allocations: 193.5 kB / 484.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1598, allocations: 125.1 kB / 484.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1598, allocations: 7.234 kB / 484.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.1598, allocations: 41 kB / 484.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.273e-06/0.1598, allocations: 0 / 484.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.000372/0.1602, allocations: 308 kB / 485.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.1602, allocations: 57.02 kB / 485.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1604, allocations: 280.5 kB / 485.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.1604, allocations: 30.92 kB / 485.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1604, allocations: 200.3 kB / 485.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.1605, allocations: 103.4 kB / 485.9 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1605, allocations: 44.83 kB / 485.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.1606, allocations: 341 kB / 486.3 MB, free: 39.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.1607, allocations: 72.36 kB / 486.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.1607, allocations: 71.48 kB / 486.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.1614, allocations: 394.2 kB / 486.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1614, allocations: 0 / 486.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002431/0.1616, allocations: 271.9 kB / 487.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1616, allocations: 5.375 kB / 487.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1616, allocations: 0 / 487.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1617, allocations: 2.938 kB / 487.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1618, allocations: 50.33 kB / 487.1 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1618, allocations: 5.141 kB / 487.1 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.1619, allocations: 15.02 kB / 487.1 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1619, allocations: 13.44 kB / 487.2 MB, free: 39.04 MB / 410.7 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.0001377/0.162, allocations: 161.7 kB / 487.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.162, allocations: 39.97 kB / 487.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.1621, allocations: 47 kB / 487.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1621, allocations: 6.391 kB / 487.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1621, allocations: 4 kB / 487.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1621, allocations: 1.188 kB / 487.4 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1623, allocations: 295.1 kB / 487.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1623, allocations: 0 / 487.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1624, allocations: 46.83 kB / 487.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1624, allocations: 5.094 kB / 487.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1625, allocations: 6.406 kB / 487.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1625, allocations: 1.312 kB / 487.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1625, allocations: 0 / 487.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1628, allocations: 469.1 kB / 488.2 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.1629, allocations: 54.25 kB / 488.3 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1629, allocations: 14.44 kB / 488.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.163, allocations: 4.438 kB / 488.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.163, allocations: 16.2 kB / 488.3 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-06/0.163, allocations: 8.281 kB / 488.3 MB, free: 38.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.605e-05/0.1631, allocations: 199.4 kB / 488.5 MB, free: 38.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1631, allocations: 0 / 488.5 MB, free: 38.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.1633, allocations: 100.5 kB / 488.6 MB, free: 38.16 MB / 410.7 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 5.954e-05/0.1634, allocations: 98.5 kB / 488.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1636, allocations: 187.2 kB / 488.9 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1636, allocations: 0 / 488.9 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.657e-05/0.1637, allocations: 102.9 kB / 489 MB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.164, allocations: 71.62 kB / 489 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.1648, allocations: 0.7788 MB / 489.8 MB, free: 37.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.1649, allocations: 187.9 kB / 490 MB, free: 37.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.1649, allocations: 24.19 kB / 490 MB, free: 37.33 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1649, allocations: 5 kB / 490 MB, free: 37.33 MB / 410.7 MB Notification: Performance of Templates: time 0.003709/0.1686, allocations: 4.357 MB / 494.4 MB, free: 36.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.377730523236096] Failed to read output from testmodel.py, exit status != 0: 0.1744713867083192 0.18076192699999996 0.022009107 Calling exit ...