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.06342/0.06342, allocations: 11.15 MB / 31.01 MB, free: 4.762 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.0008496/0.0008496, allocations: 90.41 kB / 38.74 MB, free: 6.84 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.0008849/0.0008849, allocations: 166.3 kB / 42.15 MB, free: 3.508 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.8808/0.8808, allocations: 177.1 MB / 222.6 MB, free: 6.301 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.19/0.19, allocations: 17.63 MB / 296.7 MB, free: 1.289 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.673e-06/1.673e-06, allocations: 0 / 320.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.214e-05, allocations: 2.312 kB / 320.9 MB, free: 14.22 MB / 298.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.03238/0.0324, allocations: 31.73 MB / 352.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.03309, allocations: 466.8 kB / 353.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.03316, allocations: 3.938 kB / 353.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.093e-05/0.03325, allocations: 27.78 kB / 353.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.4e-05/0.03333, allocations: 35.64 kB / 353.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.973e-05/0.03337, allocations: 19.98 kB / 353.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.03347, allocations: 119.1 kB / 353.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.03354, allocations: 21.89 kB / 353.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.0336, allocations: 59.83 kB / 353.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.03365, allocations: 23.91 kB / 353.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.03367, allocations: 11.94 kB / 353.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.03368, allocations: 4 kB / 353.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.03369, allocations: 7.938 kB / 353.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.03372, allocations: 27.94 kB / 353.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.73e-05/0.0338, allocations: 63.77 kB / 353.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.03381, allocations: 7.984 kB / 353.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.03381, allocations: 0 / 353.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.03381, allocations: 0 / 353.5 MB, free: 13.78 MB / 330.7 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.0002426/0.03405, allocations: 305 kB / 353.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.509e-05/0.03408, allocations: 8.031 kB / 353.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.0341, allocations: 12.94 kB / 353.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.03424, allocations: 165.5 kB / 354 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.03424, allocations: 4.375 kB / 354 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.03425, allocations: 4.375 kB / 354 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.648e-05/0.03431, allocations: 54.11 kB / 354 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.03432, allocations: 4.188 kB / 354 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.03432, allocations: 4.375 kB / 354 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.03433, allocations: 3.938 kB / 354 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.03434, allocations: 11.94 kB / 354 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.03457, allocations: 346.6 kB / 354.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.03461, allocations: 169.1 kB / 354.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.03463, allocations: 80.14 kB / 354.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.03465, allocations: 83.28 kB / 354.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.03468, allocations: 109.8 kB / 354.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.03468, allocations: 0 / 354.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 3.987e-05/0.03472, allocations: 33.64 kB / 354.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.03476, allocations: 126.7 kB / 355 MB, free: 12.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.03484, allocations: 160.2 kB / 355.1 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.03485, allocations: 25.7 kB / 355.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.03488, allocations: 112 kB / 355.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.03489, allocations: 0 / 355.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.0349, allocations: 17.7 kB / 355.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.303e-05/0.03497, allocations: 318.8 kB / 355.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-06/0.03497, allocations: 4 kB / 355.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.03498, allocations: 8 kB / 355.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/0.03499, allocations: 12.83 kB / 355.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.03499, allocations: 3.938 kB / 355.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.898e-05/0.03504, allocations: 33.7 kB / 355.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.03505, allocations: 4 kB / 355.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.03505, allocations: 0 / 355.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.03506, allocations: 4 kB / 355.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.03509, allocations: 4.188 kB / 355.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.03509, allocations: 7.938 kB / 355.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.03511, allocations: 0 / 355.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-06/0.03511, allocations: 0 / 355.7 MB, free: 11.42 MB / 330.7 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 5.84e-05/0.03517, allocations: 189.1 kB / 355.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.0352, allocations: 108.9 kB / 356 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.03523, allocations: 117.5 kB / 356.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/0.03526, allocations: 176.3 kB / 356.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.558e-05/0.0353, allocations: 180.2 kB / 356.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/0.03534, allocations: 180.3 kB / 356.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.03546, allocations: 338.1 kB / 356.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.03549, allocations: 116.9 kB / 357 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.03551, allocations: 105 kB / 357.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.714e-05/0.03555, allocations: 184.2 kB / 357.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.03559, allocations: 180.3 kB / 357.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.891e-05/0.03562, allocations: 188.2 kB / 357.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-05/0.03566, allocations: 180.3 kB / 357.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.03574, allocations: 307.8 kB / 358.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.03578, allocations: 112.9 kB / 358.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.03582, allocations: 180.2 kB / 358.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.03587, allocations: 105.3 kB / 358.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.03591, allocations: 192.2 kB / 358.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.03593, allocations: 105 kB / 358.8 MB, free: 8.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.808e-05/0.03596, allocations: 33.53 kB / 358.9 MB, free: 8.039 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03596, allocations: 0 / 358.9 MB, free: 8.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001189/0.03608, allocations: 15.95 kB / 358.9 MB, free: 8.023 MB / 330.7 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 7.136e-05/0.03615, allocations: 151.7 kB / 359 MB, free: 7.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.389e-05/0.03618, allocations: 4.859 kB / 359 MB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.03618, allocations: 4 kB / 359 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.03619, allocations: 7.938 kB / 359.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.03657, allocations: 0.4924 MB / 359.5 MB, free: 7.352 MB / 330.7 MB Error: Error parsing unit kcal/(kg.K): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.03711, allocations: 304.4 kB / 359.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.836e-05/0.03714, allocations: 67.34 kB / 359.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.337e-05/0.03716, allocations: 4.5 kB / 359.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.03723, allocations: 79.28 kB / 360 MB, free: 6.859 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03723, allocations: 0 / 360 MB, free: 6.859 MB / 330.7 MB Notification: Performance of Templates: time 0.002388/0.03962, allocations: 1.367 MB / 361.4 MB, free: 5.527 MB / 330.7 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.538231289945543]