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.05538/0.05538, allocations: 11.15 MB / 31.01 MB, free: 4.777 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.0009205/0.0009205, allocations: 86.41 kB / 38.74 MB, free: 6.848 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.001017/0.001017, allocations: 166.3 kB / 42.14 MB, free: 3.52 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.9466/0.9466, allocations: 177.2 MB / 222.6 MB, free: 5.852 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.1912/0.1912, allocations: 17.62 MB / 296.7 MB, free: 1.203 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.423e-06/1.423e-06, allocations: 0 / 320.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.869e-05, allocations: 4.703 kB / 320.9 MB, free: 14.14 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.02683/0.02684, allocations: 31.77 MB / 352.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.02778, allocations: 469.2 kB / 353.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.02787, allocations: 7.938 kB / 353.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.02799, allocations: 19.8 kB / 353.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.02811, allocations: 51.5 kB / 353.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.255e-05/0.02816, allocations: 15.98 kB / 353.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.02833, allocations: 111.2 kB / 353.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.02843, allocations: 25.88 kB / 353.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.02852, allocations: 55.83 kB / 353.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.0286, allocations: 23.92 kB / 353.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.02862, allocations: 4 kB / 353.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.02863, allocations: 4 kB / 353.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.02865, allocations: 11.94 kB / 353.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.0287, allocations: 35.91 kB / 353.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.02882, allocations: 63.77 kB / 353.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.02882, allocations: 0 / 353.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.02882, allocations: 4 kB / 353.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.02883, allocations: 0 / 353.6 MB, free: 13.68 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.0003369/0.02916, allocations: 307.3 kB / 353.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.0292, allocations: 12.03 kB / 353.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.02923, allocations: 8.922 kB / 353.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.02942, allocations: 161.5 kB / 354 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.02943, allocations: 4.375 kB / 354 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.02944, allocations: 4.375 kB / 354.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.385e-05/0.02952, allocations: 58.06 kB / 354.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.02953, allocations: 192 / 354.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.02953, allocations: 4.375 kB / 354.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.02954, allocations: 7.938 kB / 354.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.02957, allocations: 15.98 kB / 354.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.02986, allocations: 339.5 kB / 354.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.502e-05/0.02993, allocations: 169.1 kB / 354.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.02995, allocations: 80.14 kB / 354.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.02998, allocations: 79.22 kB / 354.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.03002, allocations: 113.8 kB / 354.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.03002, allocations: 0 / 354.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.55e-05/0.03007, allocations: 33.69 kB / 354.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.03012, allocations: 126.7 kB / 355.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.03024, allocations: 164.2 kB / 355.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.03025, allocations: 25.7 kB / 355.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.0303, allocations: 108 kB / 355.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.0303, allocations: 4 kB / 355.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.03033, allocations: 13.72 kB / 355.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.03043, allocations: 326.8 kB / 355.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-06/0.03043, allocations: 4 kB / 355.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.03044, allocations: 3.938 kB / 355.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.132e-05/0.03046, allocations: 8.969 kB / 355.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.03046, allocations: 3.938 kB / 355.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.447e-05/0.03053, allocations: 37.69 kB / 355.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.03054, allocations: 4 kB / 355.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.03054, allocations: 4 kB / 355.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.03055, allocations: 0 / 355.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-05/0.03058, allocations: 4 kB / 355.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.03059, allocations: 4.094 kB / 355.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.03061, allocations: 0 / 355.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-06/0.03062, allocations: 0 / 355.8 MB, free: 11.33 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 7.644e-05/0.03069, allocations: 189 kB / 355.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.03074, allocations: 113 kB / 356.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.03079, allocations: 113.5 kB / 356.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-05/0.03084, allocations: 188.2 kB / 356.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-05/0.03089, allocations: 176.3 kB / 356.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.692e-05/0.03093, allocations: 180.2 kB / 356.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.03112, allocations: 333.4 kB / 357 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/0.03115, allocations: 108.9 kB / 357.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.03118, allocations: 112.9 kB / 357.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.968e-05/0.03123, allocations: 180.3 kB / 357.4 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.03128, allocations: 188.2 kB / 357.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.024e-05/0.03134, allocations: 176.3 kB / 357.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-05/0.03138, allocations: 176.3 kB / 357.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.03149, allocations: 307.8 kB / 358.2 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.03153, allocations: 116.8 kB / 358.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.03159, allocations: 188.2 kB / 358.5 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.03167, allocations: 105 kB / 358.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.03172, allocations: 180.5 kB / 358.8 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.03176, allocations: 113 kB / 358.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.0318, allocations: 37.52 kB / 359 MB, free: 7.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0318, allocations: 0 / 359 MB, free: 7.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.03201, allocations: 15.95 kB / 359 MB, free: 7.926 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 9.441e-05/0.0321, allocations: 143.7 kB / 359.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.687e-05/0.03215, allocations: 16.8 kB / 359.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03216, allocations: 0 / 359.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.03216, allocations: 4 kB / 359.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.03256, allocations: 0.5004 MB / 359.6 MB, free: 7.254 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.0008179/0.03338, allocations: 312.7 kB / 359.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.03342, allocations: 63.34 kB / 360 MB, free: 6.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.03346, allocations: 12.47 kB / 360 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.03355, allocations: 71.3 kB / 360.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03355, allocations: 4 kB / 360.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of Templates: time 0.003446/0.037, allocations: 1.375 MB / 361.5 MB, free: 5.414 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.575684986077249]