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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08807/0.08807, allocations: 15.52 MB / 32.53 MB, free: 3.672 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 101.3 kB / 39.78 MB, free: 1.145 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 200.9 kB / 47.14 MB, free: 2.5 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 280 MB, free: 15.62 MB / 222.1 MB " [Timeout remaining time 178] 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.1449/0.1449, allocations: 23.73 MB / 362.9 MB, free: 0.8555 MB / 270.1 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.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=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 0.003141/0.003141, allocations: 119.8 kB / 0.492 GB, free: 24.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09582, allocations: 62.63 MB / 0.5531 GB, free: 9.945 MB / 398.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.03425/0.1301, allocations: 24.58 MB / 0.5771 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1317, allocations: 0.7907 MB / 0.5779 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1319, allocations: 11.94 kB / 0.5779 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.132, allocations: 83.14 kB / 0.578 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1324, allocations: 190.4 kB / 0.5782 GB, free: 368 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1326, allocations: 95.86 kB / 0.5783 GB, free: 272 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.1332, allocations: 0.5559 MB / 0.5788 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1334, allocations: 124.1 kB / 0.5789 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.1336, allocations: 187.3 kB / 0.5791 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.1338, allocations: 211 kB / 0.5793 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.1339, allocations: 32 kB / 0.5793 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.134, allocations: 32 kB / 0.5794 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.1341, allocations: 87.62 kB / 0.5794 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.1343, allocations: 227 kB / 0.5797 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.1348, allocations: 466 kB / 0.5801 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1348, allocations: 0 / 0.5801 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1348, allocations: 0 / 0.5801 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1348, allocations: 0 / 0.5801 GB, free: 14.36 MB / 430.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.001116/0.1359, allocations: 0.7435 MB / 0.5808 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.1359, allocations: 12.03 kB / 0.5808 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.136, allocations: 52.61 kB / 0.5809 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.1364, allocations: 344 kB / 0.5812 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1365, allocations: 20.94 kB / 0.5812 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.1365, allocations: 28.38 kB / 0.5813 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.137, allocations: 253.2 kB / 0.5815 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.137, allocations: 7.953 kB / 0.5815 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.137, allocations: 12 kB / 0.5815 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1371, allocations: 8 kB / 0.5815 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.1374, allocations: 190.2 kB / 0.5817 GB, free: 12.62 MB / 430.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.00188/0.1393, allocations: 1.544 MB / 0.5832 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.1397, allocations: 199.1 kB / 0.5834 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1399, allocations: 121.3 kB / 0.5835 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.14, allocations: 240 / 0.5835 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.14, allocations: 38.78 kB / 0.5836 GB, free: 10.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.042e-06/0.14, allocations: 0 / 0.5836 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006436/0.1406, allocations: 321.8 kB / 0.5839 GB, free: 10.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1407, allocations: 55.41 kB / 0.5839 GB, free: 10.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.141, allocations: 317.7 kB / 0.5842 GB, free: 9.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.141, allocations: 37.7 kB / 0.5843 GB, free: 9.742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1412, allocations: 196.8 kB / 0.5845 GB, free: 9.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.1413, allocations: 95.17 kB / 0.5845 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.1414, allocations: 45.7 kB / 0.5846 GB, free: 9.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1415, allocations: 350.7 kB / 0.5849 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1417, allocations: 67.98 kB / 0.585 GB, free: 8.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1418, allocations: 68.91 kB / 0.5851 GB, free: 8.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1431, allocations: 405.5 kB / 0.5854 GB, free: 8.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1431, allocations: 0 / 0.5854 GB, free: 8.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004486/0.1435, allocations: 257.4 kB / 0.5857 GB, free: 8.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1435, allocations: 11.94 kB / 0.5857 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1435, allocations: 0 / 0.5857 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1435, allocations: 3.984 kB / 0.5857 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.1438, allocations: 51.92 kB / 0.5858 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1439, allocations: 4 kB / 0.5858 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.144, allocations: 27.78 kB / 0.5858 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.144, allocations: 4 kB / 0.5858 GB, free: 8.16 MB / 430.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.0002314/0.1443, allocations: 175 kB / 0.586 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.1443, allocations: 35.77 kB / 0.586 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1444, allocations: 56.14 kB / 0.586 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1444, allocations: 4 kB / 0.586 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1444, allocations: 0 / 0.586 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1444, allocations: 0 / 0.586 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.1449, allocations: 405.3 kB / 0.5864 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1449, allocations: 0 / 0.5864 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.1452, allocations: 47.91 kB / 0.5865 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1452, allocations: 0 / 0.5865 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.1453, allocations: 8 kB / 0.5865 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1453, allocations: 0 / 0.5865 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1453, allocations: 0 / 0.5865 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.146, allocations: 471.1 kB / 0.5869 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.1461, allocations: 136.8 kB / 0.5871 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.1462, allocations: 7.984 kB / 0.5871 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1464, allocations: 4 kB / 0.5871 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1464, allocations: 11.98 kB / 0.5871 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1464, allocations: 8 kB / 0.5871 GB, free: 6.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.1467, allocations: 231.2 kB / 0.5873 GB, free: 6.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1467, allocations: 4 kB / 0.5873 GB, free: 6.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.147, allocations: 91.89 kB / 0.5874 GB, free: 6.41 MB / 430.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 9.397e-05/0.1471, allocations: 99.19 kB / 0.5875 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1475, allocations: 195.8 kB / 0.5877 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1475, allocations: 0 / 0.5877 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.1477, allocations: 99.84 kB / 0.5878 GB, free: 6.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.1483, allocations: 116.7 kB / 0.5879 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1497, allocations: 0.867 MB / 0.5887 GB, free: 5.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.1502, allocations: 0.8026 MB / 0.5895 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1503, allocations: 23.44 kB / 0.5895 GB, free: 4.156 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1503, allocations: 0 / 0.5895 GB, free: 4.156 MB / 430.1 MB Notification: Performance of Templates: time 0.2053/0.3556, allocations: 4.447 MB / 0.5939 GB, free: 36.91 MB / 430.1 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: 7.364053638884798] Failed to read output from testmodel.py, exit status != 0: 0.36191495205275714 0.372921471 0.23564383100000003 Calling exit ...