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.07054/0.07054, allocations: 11.15 MB / 30.94 MB, free: 4.797 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.0009708/0.0009708, allocations: 98.89 kB / 38.66 MB, free: 6.891 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.001164/0.001164, allocations: 156.5 kB / 46.45 MB, free: 10.18 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.9401/0.9401, allocations: 177.2 MB / 231.3 MB, free: 1.961 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.2362/0.2362, allocations: 17.62 MB / 309.9 MB, free: 1.844 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 4.198e-06/4.198e-06, allocations: 4 kB / 391.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/3.02e-05, allocations: 2.312 kB / 391.7 MB, free: 4.418 MB / 346.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.02548/0.02551, allocations: 25.96 MB / 417.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.02635, allocations: 478.6 kB / 418.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.02643, allocations: 7.938 kB / 418.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.87e-05/0.02652, allocations: 15.8 kB / 418.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.0266, allocations: 43.56 kB / 418.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.761e-05/0.02663, allocations: 16 kB / 418.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.02674, allocations: 115.2 kB / 418.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.02681, allocations: 25.03 kB / 418.4 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.02688, allocations: 59.81 kB / 418.4 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.02693, allocations: 23.92 kB / 418.4 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.02695, allocations: 4 kB / 418.4 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.02696, allocations: 4 kB / 418.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.02698, allocations: 11.94 kB / 418.5 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.02701, allocations: 35.91 kB / 418.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.02711, allocations: 63.7 kB / 418.6 MB, free: 9.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.02712, allocations: 0 / 418.6 MB, free: 9.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02712, allocations: 4 kB / 418.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.02712, allocations: 4 kB / 418.6 MB, free: 9.672 MB / 378.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.0002894/0.02741, allocations: 436 kB / 419 MB, free: 9.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.02744, allocations: 8.031 kB / 419 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.02746, allocations: 24.77 kB / 419 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.02759, allocations: 164.4 kB / 419.2 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.0276, allocations: 4.375 kB / 419.2 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.02761, allocations: 8.375 kB / 419.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.008e-05/0.02767, allocations: 42.25 kB / 419.2 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-06/0.02767, allocations: 192 / 419.2 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.02768, allocations: 8.375 kB / 419.2 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.02768, allocations: 3.938 kB / 419.2 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.0277, allocations: 11.98 kB / 419.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.02798, allocations: 0.5142 MB / 419.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.902e-05/0.02805, allocations: 273.4 kB / 420 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.02808, allocations: 126.9 kB / 420.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.0281, allocations: 123.2 kB / 420.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.02814, allocations: 160.6 kB / 420.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.02814, allocations: 0 / 420.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 4.28e-05/0.02818, allocations: 37.59 kB / 420.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.02823, allocations: 170.6 kB / 420.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.02832, allocations: 206.5 kB / 420.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-06/0.02833, allocations: 25.7 kB / 420.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.02839, allocations: 170.7 kB / 421 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.02839, allocations: 0 / 421 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.02841, allocations: 19.38 kB / 421.1 MB, free: 6.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.02851, allocations: 0.4961 MB / 421.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.02851, allocations: 8 kB / 421.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.02852, allocations: 0 / 421.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.592e-05/0.02853, allocations: 7.688 kB / 421.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.02854, allocations: 0 / 421.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.79e-05/0.02859, allocations: 45.59 kB / 421.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.0286, allocations: 4 kB / 421.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.02861, allocations: 0 / 421.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.02861, allocations: 0 / 421.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.388e-05/0.02864, allocations: 0 / 421.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-06/0.02864, allocations: 4.094 kB / 421.6 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.02865, allocations: 4 kB / 421.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-06/0.02866, allocations: 0 / 421.6 MB, free: 6.402 MB / 378.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 7.758e-05/0.02873, allocations: 279.7 kB / 421.9 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.02878, allocations: 160.8 kB / 422.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.02882, allocations: 157.1 kB / 422.2 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.02888, allocations: 268.1 kB / 422.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-05/0.02893, allocations: 272 kB / 422.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.321e-05/0.02899, allocations: 264.1 kB / 423 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.02929, allocations: 0.4926 MB / 423.5 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.02932, allocations: 152.8 kB / 423.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.02935, allocations: 152.9 kB / 423.8 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.298e-05/0.0294, allocations: 276 kB / 424.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.02945, allocations: 268.1 kB / 424.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-05/0.0295, allocations: 264.1 kB / 424.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-05/0.02955, allocations: 268 kB / 424.8 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.02966, allocations: 463.8 kB / 425.3 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.0297, allocations: 152.8 kB / 425.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.02976, allocations: 272 kB / 425.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.02982, allocations: 144.9 kB / 425.8 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.02987, allocations: 268.4 kB / 426.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.0299, allocations: 156.8 kB / 426.3 MB, free: 1.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.02995, allocations: 152.8 kB / 426.4 MB, free: 1.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02995, allocations: 3.938 kB / 426.4 MB, free: 1.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.03009, allocations: 15.94 kB / 426.4 MB, free: 1.41 MB / 378.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 8.598e-05/0.03017, allocations: 210.4 kB / 426.6 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.152e-05/0.03021, allocations: 15.72 kB / 426.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.03022, allocations: 0 / 426.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.03022, allocations: 0 / 426.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.03058, allocations: 0.7568 MB / 427.4 MB, free: 424 kB / 378.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.0006179/0.0312, allocations: 349.1 kB / 427.7 MB, free: 44 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.03124, allocations: 63.34 kB / 427.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.03127, allocations: 8.484 kB / 427.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.03134, allocations: 98.17 kB / 427.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03134, allocations: 0 / 427.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of Templates: time 0.002828/0.03417, allocations: 1.369 MB / 429.3 MB, free: 14.52 MB / 394.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: 3.040133649017662]