Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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.1054/0.1054, allocations: 11.16 MB / 30.26 MB, free: 6.531 MB / 26.18 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.001386/0.001386, allocations: 92.12 kB / 37.85 MB, free: 7.953 MB / 34.91 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.001581/0.001581, allocations: 160.6 kB / 45.52 MB, free: 280 kB / 34.91 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 1.45/1.45, allocations: 177.1 MB / 230.2 MB, free: 8.395 MB / 206.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.1452/0.1452, allocations: 17.64 MB / 308.7 MB, free: 12.86 MB / 286.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.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.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 453.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.961e-05, allocations: 2.281 kB / 453.6 MB, free: 3.18 MB / 350.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.SkinHeatFlow): time 0.0491/0.04913, allocations: 23.29 MB / 476.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.05071, allocations: 450.9 kB / 477.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.05085, allocations: 3.938 kB / 477.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.05101, allocations: 15.8 kB / 477.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.05118, allocations: 51.52 kB / 477.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.638e-05/0.05126, allocations: 11.97 kB / 477.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.05158, allocations: 115.2 kB / 477.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.05173, allocations: 29.03 kB / 477.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.05186, allocations: 55.88 kB / 477.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.05196, allocations: 31.86 kB / 477.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.05199, allocations: 4 kB / 477.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.05202, allocations: 4 kB / 477.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.05205, allocations: 11.94 kB / 477.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.05212, allocations: 27.92 kB / 477.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.05236, allocations: 87.7 kB / 477.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.05236, allocations: 4 kB / 477.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05236, allocations: 0 / 477.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.05237, allocations: 0 / 477.8 MB, free: 11.17 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007097/0.05308, allocations: 337.7 kB / 478.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.05313, allocations: 11.98 kB / 478.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.05319, allocations: 16.84 kB / 478.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.05358, allocations: 154.2 kB / 478.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.0536, allocations: 384 / 478.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.05362, allocations: 8.359 kB / 478.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.05382, allocations: 66.12 kB / 478.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.05383, allocations: 192 / 478.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.05385, allocations: 4.375 kB / 478.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.05385, allocations: 3.938 kB / 478.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.05394, allocations: 23.98 kB / 478.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.05466, allocations: 414.9 kB / 478.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.0548, allocations: 165.1 kB / 478.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.05486, allocations: 80.14 kB / 479 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.05491, allocations: 79.28 kB / 479.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.962e-05/0.055, allocations: 113.8 kB / 479.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.055, allocations: 0 / 479.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001225/0.05513, allocations: 41.64 kB / 479.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.05523, allocations: 130.7 kB / 479.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.05558, allocations: 159.3 kB / 479.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.05561, allocations: 25.7 kB / 479.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.05574, allocations: 120 kB / 479.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.05574, allocations: 0 / 479.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.05579, allocations: 13.72 kB / 479.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.056, allocations: 326.8 kB / 480 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.05602, allocations: 0 / 480 MB, free: 8.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.05603, allocations: 4 kB / 480 MB, free: 8.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.05607, allocations: 12.86 kB / 480 MB, free: 8.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.05607, allocations: 4.109 kB / 480 MB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001523/0.05623, allocations: 49.59 kB / 480.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.05624, allocations: 4 kB / 480.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.05625, allocations: 0 / 480.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.05627, allocations: 0 / 480.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.05633, allocations: 7.984 kB / 480.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.05634, allocations: 0 / 480.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.05639, allocations: 0 / 480.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.0564, allocations: 0 / 480.1 MB, free: 8.656 MB / 382.1 MB 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 (1): * Single equations (assignments): 1 * 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.0001792/0.05658, allocations: 197.1 kB / 480.3 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.05671, allocations: 116.9 kB / 480.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.05681, allocations: 117.2 kB / 480.5 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001245/0.05693, allocations: 184.2 kB / 480.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001254/0.05706, allocations: 176.3 kB / 480.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001263/0.05719, allocations: 180.3 kB / 481 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.0576, allocations: 384.7 kB / 481.4 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.828e-05/0.05768, allocations: 105 kB / 481.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.05776, allocations: 108.9 kB / 481.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.05788, allocations: 176.3 kB / 481.8 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.05801, allocations: 180.3 kB / 482 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001165/0.05813, allocations: 188.2 kB / 482.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001147/0.05824, allocations: 176.3 kB / 482.3 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.0585, allocations: 319.6 kB / 482.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.05859, allocations: 116.9 kB / 482.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.05873, allocations: 184.2 kB / 482.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.0589, allocations: 105 kB / 483 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.05901, allocations: 180.2 kB / 483.2 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.05909, allocations: 101 kB / 483.3 MB, free: 5.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.05925, allocations: 120.9 kB / 483.4 MB, free: 5.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.05925, allocations: 0 / 483.4 MB, free: 5.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.05967, allocations: 19.94 kB / 483.4 MB, free: 5.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001934/0.05987, allocations: 170.5 kB / 483.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.05997, allocations: 15.94 kB / 483.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.05998, allocations: 0 / 483.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.624e-06/0.05998, allocations: 0 / 483.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.06094, allocations: 0.5052 MB / 484.1 MB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.06154, allocations: 264.5 kB / 484.4 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.06168, allocations: 84.25 kB / 484.5 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.787e-05/0.06174, allocations: 12.47 kB / 484.5 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.06177, allocations: 12.5 kB / 484.5 MB, free: 4 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.06177, allocations: 0 / 484.5 MB, free: 4 MB / 382.1 MB Notification: Performance of Templates: time 0.006276/0.06805, allocations: 1.259 MB / 485.7 MB, free: 2.781 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.755836524069309] Failed to read output from testmodel.py, exit status != 0: 0.08031822368502617 0.10506615700000001 0.047618055000000006 Calling exit ...