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.05456/0.05456, allocations: 11.16 MB / 31.25 MB, free: 4.945 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.001285/0.001285, allocations: 100.7 kB / 38.88 MB, free: 7.379 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.001066/0.001066, allocations: 156.5 kB / 46.57 MB, free: 10.76 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.9382/0.9382, allocations: 177.1 MB / 231.3 MB, free: 6.43 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.2394/0.2394, allocations: 17.63 MB / 309.8 MB, free: 1.797 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 2.064e-06/2.064e-06, allocations: 0 / 391.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.046e-05/4.252e-05, allocations: 2.312 kB / 391.1 MB, free: 5.102 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.02907/0.02911, allocations: 25.84 MB / 417 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.03012, allocations: 470.7 kB / 417.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.03021, allocations: 7.938 kB / 417.5 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.03033, allocations: 19.8 kB / 417.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.03043, allocations: 51.56 kB / 417.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.8e-05/0.03049, allocations: 7.984 kB / 417.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.03065, allocations: 119.2 kB / 417.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.03076, allocations: 25.05 kB / 417.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.03084, allocations: 51.88 kB / 417.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.0309, allocations: 27.92 kB / 417.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.03093, allocations: 7.938 kB / 417.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.03094, allocations: 12 kB / 417.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.03096, allocations: 11.92 kB / 417.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.03101, allocations: 27.94 kB / 417.8 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.03115, allocations: 63.75 kB / 417.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03115, allocations: 0 / 417.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03116, allocations: 0 / 417.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.03116, allocations: 0 / 417.9 MB, free: 10.45 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.0004559/0.03162, allocations: 440 kB / 418.3 MB, free: 9.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.03166, allocations: 12.03 kB / 418.3 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.03171, allocations: 20.83 kB / 418.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.03193, allocations: 164.4 kB / 418.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.03194, allocations: 384 / 418.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.03195, allocations: 4.375 kB / 418.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.03206, allocations: 58.12 kB / 418.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.03206, allocations: 192 / 418.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.03207, allocations: 384 / 418.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.03208, allocations: 7.938 kB / 418.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.03212, allocations: 15.92 kB / 418.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.03256, allocations: 0.5487 MB / 419.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.03265, allocations: 265.4 kB / 419.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.03269, allocations: 126.9 kB / 419.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.03273, allocations: 123.2 kB / 419.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.03277, allocations: 160.5 kB / 419.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.03278, allocations: 0 / 419.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.19e-05/0.03285, allocations: 33.66 kB / 419.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.0329, allocations: 170.6 kB / 420 MB, free: 8.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.03306, allocations: 214.6 kB / 420.2 MB, free: 7.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.03307, allocations: 25.7 kB / 420.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.03315, allocations: 170.7 kB / 420.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.03315, allocations: 0 / 420.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.03318, allocations: 15.38 kB / 420.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.0333, allocations: 0.4961 MB / 420.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.03331, allocations: 0 / 420.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.03332, allocations: 4 kB / 420.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.03334, allocations: 11.62 kB / 420.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.03335, allocations: 0 / 420.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.03345, allocations: 37.66 kB / 421 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.03346, allocations: 12.09 kB / 421 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.03347, allocations: 0 / 421 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.03348, allocations: 0 / 421 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.03352, allocations: 8.094 kB / 421 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.03353, allocations: 3.938 kB / 421 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.03356, allocations: 8 kB / 421 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.03356, allocations: 0 / 421 MB, free: 7.121 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 9.203e-05/0.03365, allocations: 275.7 kB / 421.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.03372, allocations: 156.8 kB / 421.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.03378, allocations: 165.2 kB / 421.6 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.421e-05/0.03384, allocations: 276 kB / 421.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.33e-05/0.03391, allocations: 264.1 kB / 422.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.314e-05/0.03397, allocations: 264.1 kB / 422.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.0342, allocations: 0.5193 MB / 422.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.226e-05/0.03424, allocations: 148.9 kB / 423 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.03428, allocations: 148.8 kB / 423.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-05/0.03434, allocations: 268.1 kB / 423.4 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.03441, allocations: 264.1 kB / 423.7 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-05/0.03447, allocations: 268 kB / 423.9 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.273e-05/0.03453, allocations: 272.1 kB / 424.2 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.03467, allocations: 463.8 kB / 424.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.03472, allocations: 160.8 kB / 424.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.0348, allocations: 268.1 kB / 425.1 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.03488, allocations: 148.9 kB / 425.2 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.03494, allocations: 272.3 kB / 425.5 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.03497, allocations: 148.9 kB / 425.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.03505, allocations: 156.8 kB / 425.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03505, allocations: 0 / 425.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.03527, allocations: 19.94 kB / 425.8 MB, free: 2.098 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 0.0001072/0.03538, allocations: 206.4 kB / 426 MB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.3e-05/0.03546, allocations: 19.62 kB / 426 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.03546, allocations: 0 / 426 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.03546, allocations: 0 / 426 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.03596, allocations: 0.7523 MB / 426.8 MB, free: 1.109 MB / 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.0008899/0.03685, allocations: 341.3 kB / 427.1 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.962e-05/0.03689, allocations: 59.34 kB / 427.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.453e-05/0.03692, allocations: 8.484 kB / 427.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.03695, allocations: 12.5 kB / 427.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03695, allocations: 0 / 427.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of Templates: time 0.003311/0.04026, allocations: 1.279 MB / 428.5 MB, free: 15.4 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.033628355944529]