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.05844/0.05844, allocations: 11.14 MB / 31.72 MB, free: 4.305 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.001371/0.001371, allocations: 98.19 kB / 39.44 MB, free: 6.758 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.001663/0.001663, allocations: 164.5 kB / 47.23 MB, free: 10.05 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.9021/0.9021, allocations: 177.2 MB / 232.1 MB, free: 4.664 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.1079/0.1079, allocations: 17.64 MB / 310.7 MB, free: 8.582 MB / 282.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.513e-06/1.513e-06, allocations: 0 / 392.5 MB, free: 45.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.313e-05, allocations: 3.078 kB / 392.5 MB, free: 45.93 MB / 330.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.02161/0.02162, allocations: 25.94 MB / 418.4 MB, free: 20.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.02224, allocations: 462.8 kB / 418.9 MB, free: 19.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.02231, allocations: 7.938 kB / 418.9 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.674e-05/0.0224, allocations: 19.73 kB / 418.9 MB, free: 19.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.02248, allocations: 51.56 kB / 419 MB, free: 19.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.964e-05/0.02252, allocations: 7.984 kB / 419 MB, free: 19.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.02261, allocations: 115.2 kB / 419.1 MB, free: 19.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.0227, allocations: 29.28 kB / 419.1 MB, free: 19.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.02275, allocations: 51.83 kB / 419.2 MB, free: 19.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.0228, allocations: 27.92 kB / 419.2 MB, free: 19.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.02282, allocations: 4 kB / 419.2 MB, free: 19.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-06/0.02283, allocations: 4 kB / 419.2 MB, free: 19.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.02284, allocations: 15.92 kB / 419.2 MB, free: 19.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.02287, allocations: 31.92 kB / 419.3 MB, free: 19.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.438e-05/0.02296, allocations: 59.77 kB / 419.3 MB, free: 19.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.02296, allocations: 0 / 419.3 MB, free: 19.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02296, allocations: 0 / 419.3 MB, free: 19.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.02297, allocations: 0 / 419.3 MB, free: 19.41 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.0002515/0.02322, allocations: 440 kB / 419.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.02325, allocations: 8.031 kB / 419.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.02327, allocations: 16.89 kB / 419.8 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.02338, allocations: 172.3 kB / 419.9 MB, free: 18.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.02339, allocations: 4.312 kB / 419.9 MB, free: 18.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-06/0.02339, allocations: 8.375 kB / 419.9 MB, free: 18.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.657e-05/0.02345, allocations: 54.12 kB / 420 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.02346, allocations: 4.188 kB / 420 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.02346, allocations: 384 / 420 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.02347, allocations: 3.938 kB / 420 MB, free: 18.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.02348, allocations: 11.98 kB / 420 MB, free: 18.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.02371, allocations: 0.5181 MB / 420.5 MB, free: 18.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.407e-05/0.02374, allocations: 265.4 kB / 420.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-06/0.02375, allocations: 126.9 kB / 420.9 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.02376, allocations: 119.2 kB / 421 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.02378, allocations: 160.5 kB / 421.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.02378, allocations: 4 kB / 421.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.105e-05/0.02382, allocations: 37.66 kB / 421.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.02385, allocations: 170.6 kB / 421.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/0.02392, allocations: 214.5 kB / 421.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-06/0.02392, allocations: 25.7 kB / 421.6 MB, free: 16.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.02396, allocations: 162.7 kB / 421.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.02396, allocations: 7.984 kB / 421.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.02398, allocations: 15.48 kB / 421.8 MB, free: 16.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.02402, allocations: 0.5 MB / 422.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-06/0.02402, allocations: 0 / 422.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.02403, allocations: 3.938 kB / 422.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.753e-05/0.02404, allocations: 15.75 kB / 422.3 MB, free: 16.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.02404, allocations: 0 / 422.3 MB, free: 16.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.16e-05/0.0241, allocations: 37.66 kB / 422.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.0241, allocations: 4 kB / 422.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.02411, allocations: 0 / 422.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.02412, allocations: 0 / 422.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.902e-05/0.02414, allocations: 4 kB / 422.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.02415, allocations: 0 / 422.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.02417, allocations: 11.97 kB / 422.4 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-06/0.02417, allocations: 4.031 kB / 422.4 MB, free: 16.12 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 4.18e-05/0.02421, allocations: 279.7 kB / 422.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.02423, allocations: 156.8 kB / 422.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.02426, allocations: 156.8 kB / 423 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.02427, allocations: 272 kB / 423.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.02429, allocations: 268.1 kB / 423.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.02431, allocations: 272.1 kB / 423.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.881e-05/0.0244, allocations: 0.4925 MB / 424.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.02441, allocations: 144.9 kB / 424.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.02442, allocations: 156.8 kB / 424.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/0.02444, allocations: 268.1 kB / 424.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.02445, allocations: 272 kB / 425.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.02447, allocations: 268.1 kB / 425.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.31e-05/0.02449, allocations: 264.1 kB / 425.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.225e-05/0.02454, allocations: 459.8 kB / 426.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.02456, allocations: 152.8 kB / 426.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.02459, allocations: 268.1 kB / 426.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.903e-05/0.02463, allocations: 148.9 kB / 426.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.02465, allocations: 272 kB / 426.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.02466, allocations: 148.9 kB / 427 MB, free: 11.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.02469, allocations: 147.8 kB / 427.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02469, allocations: 4 kB / 427.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.02483, allocations: 19.95 kB / 427.2 MB, free: 11.14 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 5.26e-05/0.02488, allocations: 206.4 kB / 427.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.49e-05/0.02493, allocations: 23.91 kB / 427.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.02493, allocations: 0 / 427.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.02493, allocations: 4 kB / 427.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.0252, allocations: 0.7516 MB / 428.2 MB, free: 10.15 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.0005331/0.02574, allocations: 354.7 kB / 428.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.847e-05/0.02576, allocations: 59.34 kB / 428.6 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.02578, allocations: 12.48 kB / 428.6 MB, free: 9.688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.02584, allocations: 94.17 kB / 428.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02584, allocations: 0 / 428.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of Templates: time 0.002317/0.02816, allocations: 1.38 MB / 430.1 MB, free: 8.254 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.842084885109216]