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.05147/0.05147, allocations: 11.15 MB / 31.01 MB, free: 5.07 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.0007293/0.0007293, allocations: 84.34 kB / 38.58 MB, free: 7.473 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.0009/0.0009, allocations: 164.6 kB / 46.27 MB, free: 10.91 MB / 44.04 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.8251/0.8251, allocations: 177.1 MB / 231 MB, free: 6.578 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.1682/0.1682, allocations: 17.62 MB / 309.5 MB, free: 1.738 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.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.253e-06/1.253e-06, allocations: 0 / 454.3 MB, free: 5.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.822e-05, allocations: 2.281 kB / 454.3 MB, free: 5.559 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.SkinHeatFlow): time 0.255/0.255, allocations: 23.25 MB / 477.6 MB, free: 43.06 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005889/0.2556, allocations: 454 kB / 478 MB, free: 42.95 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.2557, allocations: 6.906 kB / 478 MB, free: 42.95 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.116e-05/0.2557, allocations: 20.92 kB / 478.1 MB, free: 42.94 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.2558, allocations: 45.44 kB / 478.1 MB, free: 42.92 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.183e-05/0.2559, allocations: 9.766 kB / 478.1 MB, free: 42.92 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.256, allocations: 121.1 kB / 478.2 MB, free: 42.86 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.256, allocations: 20.55 kB / 478.3 MB, free: 42.86 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.2561, allocations: 52.61 kB / 478.3 MB, free: 42.86 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.2561, allocations: 25.45 kB / 478.3 MB, free: 42.85 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2561, allocations: 10.05 kB / 478.3 MB, free: 42.85 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.2562, allocations: 2.938 kB / 478.3 MB, free: 42.85 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.2562, allocations: 12.59 kB / 478.4 MB, free: 42.84 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.2562, allocations: 30.39 kB / 478.4 MB, free: 42.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2563, allocations: 82.14 kB / 478.5 MB, free: 42.82 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2563, allocations: 0 / 478.5 MB, free: 42.82 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2563, allocations: 0 / 478.5 MB, free: 42.82 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2563, allocations: 4 kB / 478.5 MB, free: 42.82 MB / 410.8 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.000305/0.2566, allocations: 339.4 kB / 478.8 MB, free: 42.52 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2567, allocations: 9.844 kB / 478.8 MB, free: 42.52 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.2567, allocations: 15.31 kB / 478.8 MB, free: 42.51 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2568, allocations: 158.3 kB / 479 MB, free: 42.37 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2568, allocations: 11.34 kB / 479 MB, free: 42.36 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.2568, allocations: 3.594 kB / 479 MB, free: 42.36 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.2569, allocations: 62.39 kB / 479.1 MB, free: 42.33 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2569, allocations: 192 / 479.1 MB, free: 42.33 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.2569, allocations: 384 / 479.1 MB, free: 42.33 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2569, allocations: 6.938 kB / 479.1 MB, free: 42.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.257, allocations: 21.56 kB / 479.1 MB, free: 42.32 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.2572, allocations: 414.8 kB / 479.5 MB, free: 41.96 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.345e-05/0.2573, allocations: 165.1 kB / 479.7 MB, free: 41.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-06/0.2573, allocations: 84.08 kB / 479.7 MB, free: 41.7 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.2573, allocations: 78.44 kB / 479.8 MB, free: 41.63 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.2573, allocations: 109.3 kB / 479.9 MB, free: 41.52 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.2573, allocations: 4 kB / 479.9 MB, free: 41.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 5.379e-05/0.2574, allocations: 38.55 kB / 480 MB, free: 41.48 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.2574, allocations: 126.7 kB / 480.1 MB, free: 41.34 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.2575, allocations: 154.1 kB / 480.2 MB, free: 41.23 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-06/0.2575, allocations: 28.94 kB / 480.3 MB, free: 41.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.2575, allocations: 118.4 kB / 480.4 MB, free: 41.11 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.2575, allocations: 0 / 480.4 MB, free: 41.11 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.2575, allocations: 13.7 kB / 480.4 MB, free: 41.09 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.609e-05/0.2576, allocations: 328.2 kB / 480.7 MB, free: 40.77 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.2576, allocations: 7.062 kB / 480.7 MB, free: 40.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.2576, allocations: 4 kB / 480.7 MB, free: 40.77 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/0.2576, allocations: 11.3 kB / 480.7 MB, free: 40.76 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2576, allocations: 0 / 480.7 MB, free: 40.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.471e-05/0.2577, allocations: 41.92 kB / 480.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2577, allocations: 6.188 kB / 480.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2577, allocations: 0 / 480.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2577, allocations: 0 / 480.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/0.2577, allocations: 3.062 kB / 480.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2577, allocations: 3.984 kB / 480.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.2578, allocations: 4.031 kB / 480.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.2578, allocations: 7.938 kB / 480.8 MB, free: 40.71 MB / 410.8 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 3.847e-05/0.2578, allocations: 195.2 kB / 481 MB, free: 40.52 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.2578, allocations: 111.6 kB / 481.1 MB, free: 40.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.2578, allocations: 111.6 kB / 481.2 MB, free: 40.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.2578, allocations: 180.2 kB / 481.4 MB, free: 40.12 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.2579, allocations: 183.5 kB / 481.6 MB, free: 39.94 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.2579, allocations: 183.2 kB / 481.7 MB, free: 39.76 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.473e-05/0.2579, allocations: 385.4 kB / 482.1 MB, free: 39.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.258, allocations: 108.1 kB / 482.2 MB, free: 39.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-06/0.258, allocations: 108.9 kB / 482.3 MB, free: 39.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.258, allocations: 183.4 kB / 482.5 MB, free: 38.97 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.258, allocations: 180.2 kB / 482.7 MB, free: 38.79 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.258, allocations: 185.9 kB / 482.9 MB, free: 38.61 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.258, allocations: 180.2 kB / 483 MB, free: 38.42 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.016e-05/0.258, allocations: 316.5 kB / 483.4 MB, free: 38.1 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.2581, allocations: 118 kB / 483.5 MB, free: 37.98 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2581, allocations: 176.3 kB / 483.6 MB, free: 37.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.2581, allocations: 104 kB / 483.7 MB, free: 37.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.2581, allocations: 183.4 kB / 483.9 MB, free: 37.52 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2581, allocations: 107.8 kB / 484 MB, free: 37.41 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.2582, allocations: 121.1 kB / 484.1 MB, free: 37.33 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2582, allocations: 0 / 484.1 MB, free: 37.33 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001443/0.2583, allocations: 16.16 kB / 484.2 MB, free: 37.33 MB / 410.8 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 5.257e-05/0.2584, allocations: 170.2 kB / 484.3 MB, free: 37.16 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 4.866e-05/0.2584, allocations: 11.16 kB / 484.3 MB, free: 37.16 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2584, allocations: 2.375 kB / 484.3 MB, free: 37.16 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.2584, allocations: 0 / 484.3 MB, free: 37.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2587, allocations: 498.7 kB / 484.8 MB, free: 36.7 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.2589, allocations: 300.3 kB / 485.1 MB, free: 36.45 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.259, allocations: 81.73 kB / 485.2 MB, free: 36.38 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.259, allocations: 11.94 kB / 485.2 MB, free: 36.37 MB / 410.8 MB Notification: Performance of SimCode: time 3.3e-07/0.259, allocations: 0 / 485.2 MB, free: 36.37 MB / 410.8 MB Notification: Performance of Templates: time 0.001623/0.2606, allocations: 1.323 MB / 486.5 MB, free: 36.24 MB / 410.8 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.269379397854209] Failed to read output from testmodel.py, exit status != 0: 0.26530534122139215 0.272613746 0.014728409000000001 Calling exit ...