Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.05062/0.05062, allocations: 11.15 MB / 31.01 MB, free: 5.062 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.0009323/0.0009323, allocations: 91.53 kB / 38.59 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.0008686/0.0008686, allocations: 160.7 kB / 46.26 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.8309/0.8309, allocations: 177.1 MB / 231 MB, free: 6.582 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.1826/0.1826, allocations: 17.61 MB / 309.4 MB, free: 1.727 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.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 454.3 MB, free: 5.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.567e-05, allocations: 2.281 kB / 454.3 MB, free: 5.555 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.SkinHeatTransferOnBloodFlow): time 0.2483/0.2483, allocations: 23.26 MB / 477.6 MB, free: 43.11 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005898/0.2489, allocations: 447.2 kB / 478 MB, free: 43.01 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.249, allocations: 3.938 kB / 478 MB, free: 43 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.556e-05/0.2491, allocations: 25.11 kB / 478.1 MB, free: 42.99 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.2491, allocations: 47.23 kB / 478.1 MB, free: 42.97 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.453e-05/0.2492, allocations: 11 kB / 478.1 MB, free: 42.97 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2493, allocations: 114.4 kB / 478.2 MB, free: 42.93 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.2494, allocations: 18.66 kB / 478.3 MB, free: 42.92 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.2494, allocations: 60.27 kB / 478.3 MB, free: 42.91 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.2495, allocations: 25.44 kB / 478.3 MB, free: 42.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2495, allocations: 2.969 kB / 478.3 MB, free: 42.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.2495, allocations: 5.969 kB / 478.3 MB, free: 42.91 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.2495, allocations: 15.55 kB / 478.4 MB, free: 42.9 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.2495, allocations: 32.05 kB / 478.4 MB, free: 42.89 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.81e-05/0.2496, allocations: 89.06 kB / 478.5 MB, free: 42.87 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2496, allocations: 0 / 478.5 MB, free: 42.87 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2496, allocations: 3.031 kB / 478.5 MB, free: 42.87 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2496, allocations: 3.938 kB / 478.5 MB, free: 42.87 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.00026/0.2499, allocations: 329.5 kB / 478.8 MB, free: 42.57 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2499, allocations: 8.938 kB / 478.8 MB, free: 42.57 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.25, allocations: 14.84 kB / 478.8 MB, free: 42.57 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2501, allocations: 164.8 kB / 479 MB, free: 42.42 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.2501, allocations: 3.344 kB / 479 MB, free: 42.42 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.2501, allocations: 7.188 kB / 479 MB, free: 42.42 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.892e-05/0.2502, allocations: 55.75 kB / 479.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.2502, allocations: 192 / 479.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2502, allocations: 4.25 kB / 479.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2502, allocations: 6.938 kB / 479.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.2502, allocations: 26.73 kB / 479.1 MB, free: 42.38 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.2505, allocations: 413 kB / 479.5 MB, free: 42.01 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.041e-05/0.2505, allocations: 165.1 kB / 479.7 MB, free: 41.84 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-06/0.2505, allocations: 87.14 kB / 479.7 MB, free: 41.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.2505, allocations: 79.09 kB / 479.8 MB, free: 41.68 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.2505, allocations: 105.8 kB / 479.9 MB, free: 41.57 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.2505, allocations: 3.031 kB / 479.9 MB, free: 41.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 4.446e-05/0.2506, allocations: 39.81 kB / 480 MB, free: 41.53 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.2506, allocations: 126.7 kB / 480.1 MB, free: 41.39 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.2507, allocations: 153.6 kB / 480.2 MB, free: 41.29 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-06/0.2507, allocations: 25.7 kB / 480.3 MB, free: 41.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.2507, allocations: 125.4 kB / 480.4 MB, free: 41.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2507, allocations: 0 / 480.4 MB, free: 41.16 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.2507, allocations: 9.719 kB / 480.4 MB, free: 41.14 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.343e-05/0.2508, allocations: 329 kB / 480.7 MB, free: 40.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.2508, allocations: 3 kB / 480.7 MB, free: 40.82 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.2508, allocations: 3.734 kB / 480.7 MB, free: 40.82 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.78e-05/0.2508, allocations: 11.77 kB / 480.7 MB, free: 40.81 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2508, allocations: 0 / 480.7 MB, free: 40.81 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.428e-05/0.2509, allocations: 45.38 kB / 480.8 MB, free: 40.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2509, allocations: 11.86 kB / 480.8 MB, free: 40.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2509, allocations: 0 / 480.8 MB, free: 40.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2509, allocations: 0 / 480.8 MB, free: 40.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.112e-05/0.2509, allocations: 7.094 kB / 480.8 MB, free: 40.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.2509, allocations: 0 / 480.8 MB, free: 40.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.2509, allocations: 0 / 480.8 MB, free: 40.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2509, allocations: 3.062 kB / 480.8 MB, free: 40.77 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.669e-05/0.251, allocations: 191.8 kB / 481 MB, free: 40.58 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.251, allocations: 110.9 kB / 481.1 MB, free: 40.47 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.251, allocations: 119.9 kB / 481.2 MB, free: 40.36 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.251, allocations: 176.3 kB / 481.4 MB, free: 40.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.251, allocations: 187 kB / 481.6 MB, free: 39.99 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.251, allocations: 183.7 kB / 481.8 MB, free: 39.81 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.774e-05/0.2511, allocations: 386.1 kB / 482.1 MB, free: 39.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.2511, allocations: 112.2 kB / 482.2 MB, free: 39.31 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-06/0.2511, allocations: 108 kB / 482.3 MB, free: 39.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.2511, allocations: 180.2 kB / 482.5 MB, free: 39.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2512, allocations: 182.5 kB / 482.7 MB, free: 38.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.2512, allocations: 176.3 kB / 482.9 MB, free: 38.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/0.2512, allocations: 186.7 kB / 483.1 MB, free: 38.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.711e-05/0.2512, allocations: 317.5 kB / 483.4 MB, free: 38.15 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.2512, allocations: 111 kB / 483.5 MB, free: 38.04 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2513, allocations: 179.2 kB / 483.6 MB, free: 37.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.2513, allocations: 104.9 kB / 483.7 MB, free: 37.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.2513, allocations: 183.4 kB / 483.9 MB, free: 37.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.2513, allocations: 111.6 kB / 484 MB, free: 37.46 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.2514, allocations: 118.4 kB / 484.2 MB, free: 37.39 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2514, allocations: 0 / 484.2 MB, free: 37.39 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001412/0.2515, allocations: 16.47 kB / 484.2 MB, free: 37.38 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.019e-05/0.2515, allocations: 164.6 kB / 484.3 MB, free: 37.22 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 4.515e-05/0.2516, allocations: 9.938 kB / 484.3 MB, free: 37.22 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-06/0.2516, allocations: 0 / 484.3 MB, free: 37.22 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.2516, allocations: 3.062 kB / 484.3 MB, free: 37.22 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.2518, allocations: 0.4942 MB / 484.8 MB, free: 36.76 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.2521, allocations: 292.4 kB / 485.1 MB, free: 36.51 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.2521, allocations: 80.44 kB / 485.2 MB, free: 36.44 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.2521, allocations: 15.44 kB / 485.2 MB, free: 36.43 MB / 410.8 MB Notification: Performance of SimCode: time 3.6e-07/0.2521, allocations: 0 / 485.2 MB, free: 36.43 MB / 410.8 MB Notification: Performance of Templates: time 0.001511/0.2536, allocations: 1.321 MB / 486.5 MB, free: 36.3 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.366026085801423] Failed to read output from testmodel.py, exit status != 0: 0.25836038403213024 0.26466897 0.013605518 Calling exit ...