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.08106/0.08106, allocations: 11.14 MB / 20.97 MB, free: 4.672 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009095/0.09016, allocations: 4.808 MB / 25.78 MB, free: 68 kB / 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.0008711/0.0008711, allocations: 76.44 kB / 26.61 MB, free: 8.113 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002177, allocations: 446.9 kB / 27.04 MB, free: 7.871 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.0009782/0.0009782, allocations: 152.6 kB / 27.94 MB, free: 7.27 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.002162, allocations: 480.7 kB / 28.4 MB, free: 6.918 MB / 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.8959/0.8959, allocations: 177.1 MB / 206.3 MB, free: 4.426 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2224/1.118, allocations: 53.65 MB / 259.9 MB, free: 1.02 MB / 250.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.09441/0.09441, allocations: 17.62 MB / 278.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01196/0.1064, allocations: 6.518 MB / 284.8 MB, free: 8.207 MB / 282.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 1.813e-06/1.813e-06, allocations: 0 / 286.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.571e-05, allocations: 6.312 kB / 286.1 MB, free: 6.938 MB / 282.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.01229/0.01231, allocations: 4.296 MB / 290.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.01365, allocations: 0.8526 MB / 291.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.0138, allocations: 15.88 kB / 291.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.01393, allocations: 87.14 kB / 291.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.01418, allocations: 210.1 kB / 291.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.01433, allocations: 95.78 kB / 291.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.01474, allocations: 0.61 MB / 292.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.01493, allocations: 121.3 kB / 292.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.0152, allocations: 334.4 kB / 292.7 MB, free: 300 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.01537, allocations: 167.5 kB / 292.8 MB, free: 132 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.01542, allocations: 32 kB / 292.9 MB, free: 100 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.01546, allocations: 32 kB / 292.9 MB, free: 68 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.0155, allocations: 63.75 kB / 293 MB, free: 4 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.01563, allocations: 143.9 kB / 293.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.0159, allocations: 306.9 kB / 293.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.01592, allocations: 0 / 293.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01592, allocations: 0 / 293.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.01593, allocations: 0 / 293.4 MB, free: 15.56 MB / 298.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.0007617/0.0167, allocations: 0.7563 MB / 294.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.01673, allocations: 11.89 kB / 294.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.01679, allocations: 52.89 kB / 294.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.01707, allocations: 257.6 kB / 294.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.0171, allocations: 25.03 kB / 294.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.01713, allocations: 24.38 kB / 294.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.01734, allocations: 191.3 kB / 294.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01735, allocations: 192 / 294.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01737, allocations: 16.38 kB / 294.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.01738, allocations: 7.938 kB / 294.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.01748, allocations: 80.44 kB / 294.8 MB, free: 14.09 MB / 298.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.0007474/0.01823, allocations: 0.5824 MB / 295.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.0184, allocations: 111.9 kB / 295.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.01847, allocations: 68.09 kB / 295.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01848, allocations: 8.234 kB / 295.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.01851, allocations: 34.8 kB / 295.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.01851, allocations: 0 / 295.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002359/0.01874, allocations: 168 kB / 295.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.01878, allocations: 55.41 kB / 295.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.01894, allocations: 267 kB / 296.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01896, allocations: 29.7 kB / 296.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.01905, allocations: 169.3 kB / 296.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.01911, allocations: 99.11 kB / 296.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.01916, allocations: 41.69 kB / 296.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01926, allocations: 350.7 kB / 296.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.0193, allocations: 23.98 kB / 296.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.01934, allocations: 20.53 kB / 296.8 MB, free: 12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.01949, allocations: 133.5 kB / 297 MB, free: 11.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01949, allocations: 3.938 kB / 297 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001514/0.01964, allocations: 137.6 kB / 297.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01966, allocations: 7.938 kB / 297.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01966, allocations: 0 / 297.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.01967, allocations: 4 kB / 297.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.01987, allocations: 59.91 kB / 297.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.01987, allocations: 0 / 297.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.01993, allocations: 19.84 kB / 297.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.01994, allocations: 8 kB / 297.2 MB, free: 11.62 MB / 298.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.0001959/0.02014, allocations: 137.6 kB / 297.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.02017, allocations: 27.97 kB / 297.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.02024, allocations: 47.89 kB / 297.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.02024, allocations: 0 / 297.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02025, allocations: 0 / 297.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.02026, allocations: 7.984 kB / 297.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.02048, allocations: 221.4 kB / 297.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.02048, allocations: 0 / 297.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.02067, allocations: 55.92 kB / 297.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.02073, allocations: 39.69 kB / 297.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.02073, allocations: 7.984 kB / 297.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.02074, allocations: 7.938 kB / 297.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.02075, allocations: 4 kB / 297.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02075, allocations: 0 / 297.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.02107, allocations: 272.6 kB / 298 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.0211, allocations: 8 kB / 298 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.02117, allocations: 8 kB / 298 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.0212, allocations: 23.91 kB / 298 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.02121, allocations: 0 / 298 MB, free: 10.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.573e-05/0.02128, allocations: 104.6 kB / 298.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02128, allocations: 0 / 298.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.02148, allocations: 103.8 kB / 298.2 MB, free: 10.53 MB / 298.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 0.0001168/0.02159, allocations: 80.36 kB / 298.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.02176, allocations: 112.7 kB / 298.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.02177, allocations: 8 kB / 298.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.02184, allocations: 68.7 kB / 298.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.02216, allocations: 116.1 kB / 298.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.03244, allocations: 0.7245 MB / 299.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.0325, allocations: 100.3 kB / 299.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.532e-05/0.0326, allocations: 22.3 kB / 299.5 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.03273, allocations: 107.3 kB / 299.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.03274, allocations: 0 / 299.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of Templates: time 0.005264/0.038, allocations: 3.595 MB / 303.2 MB, free: 5.633 MB / 298.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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7979770163074136]