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.09636/0.09636, allocations: 11.16 MB / 30.71 MB, free: 4.477 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.0009278/0.0009278, allocations: 97.42 kB / 38.4 MB, free: 7.02 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.001095/0.001095, allocations: 164.5 kB / 46.17 MB, free: 10.34 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.9461/0.9461, allocations: 177.2 MB / 231 MB, free: 4.77 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.1519/0.1519, allocations: 17.63 MB / 309.6 MB, free: 8.715 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 2.224e-06/2.224e-06, allocations: 0.7656 kB / 391.2 MB, free: 46.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.065e-05/4.287e-05, allocations: 2.312 kB / 391.2 MB, free: 46.16 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.0295/0.02954, allocations: 25.9 MB / 417.1 MB, free: 20.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.03055, allocations: 470.8 kB / 417.6 MB, free: 20.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.03065, allocations: 3.938 kB / 417.6 MB, free: 20.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.03077, allocations: 27.78 kB / 417.6 MB, free: 20.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.03087, allocations: 39.64 kB / 417.7 MB, free: 20.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.398e-05/0.03092, allocations: 11.98 kB / 417.7 MB, free: 20.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.03106, allocations: 115.2 kB / 417.8 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.03118, allocations: 21.28 kB / 417.8 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.03124, allocations: 59.88 kB / 417.9 MB, free: 19.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.03131, allocations: 23.92 kB / 417.9 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.03133, allocations: 8 kB / 417.9 MB, free: 19.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.03134, allocations: 8 kB / 417.9 MB, free: 19.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.03136, allocations: 11.88 kB / 417.9 MB, free: 19.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.0314, allocations: 31.88 kB / 417.9 MB, free: 19.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.03154, allocations: 67.73 kB / 418 MB, free: 19.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.03154, allocations: 0 / 418 MB, free: 19.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03154, allocations: 0 / 418 MB, free: 19.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.03155, allocations: 0 / 418 MB, free: 19.7 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.0004057/0.03196, allocations: 428.1 kB / 418.4 MB, free: 19.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.032, allocations: 12.03 kB / 418.4 MB, free: 19.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.03205, allocations: 16.89 kB / 418.5 MB, free: 19.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.03223, allocations: 172.2 kB / 418.6 MB, free: 19.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.03225, allocations: 4.375 kB / 418.6 MB, free: 19.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.03226, allocations: 4.375 kB / 418.6 MB, free: 19.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.03236, allocations: 50.23 kB / 418.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.03237, allocations: 192 / 418.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.03238, allocations: 4.375 kB / 418.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.03239, allocations: 7.938 kB / 418.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.731e-05/0.03242, allocations: 11.94 kB / 418.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.0328, allocations: 0.5526 MB / 419.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.03286, allocations: 261.4 kB / 419.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.03288, allocations: 126.9 kB / 419.6 MB, free: 17.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.0329, allocations: 119.2 kB / 419.8 MB, free: 17.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.03293, allocations: 164.6 kB / 419.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.324e-06/0.03293, allocations: 0 / 419.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.957e-05/0.033, allocations: 41.59 kB / 420 MB, free: 17.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.03305, allocations: 170.6 kB / 420.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.03317, allocations: 218.6 kB / 420.3 MB, free: 17.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.03317, allocations: 25.7 kB / 420.4 MB, free: 17.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.03324, allocations: 166.7 kB / 420.5 MB, free: 17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.03325, allocations: 0 / 420.5 MB, free: 17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.03327, allocations: 23.38 kB / 420.5 MB, free: 16.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.03333, allocations: 0.4922 MB / 421 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.03334, allocations: 4 kB / 421 MB, free: 16.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.03335, allocations: 0 / 421 MB, free: 16.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.03338, allocations: 7.688 kB / 421 MB, free: 16.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.03339, allocations: 0 / 421 MB, free: 16.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.901e-05/0.03348, allocations: 45.58 kB / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.0335, allocations: 12.09 kB / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.03351, allocations: 0 / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.03352, allocations: 0 / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.03359, allocations: 0 / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.0336, allocations: 4 kB / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.03362, allocations: 0 / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.03362, allocations: 0 / 421.1 MB, free: 16.38 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 6.513e-05/0.03369, allocations: 279.8 kB / 421.4 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.03372, allocations: 156.8 kB / 421.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.03376, allocations: 164.8 kB / 421.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/0.0338, allocations: 268.1 kB / 422 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/0.03383, allocations: 276 kB / 422.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/0.03386, allocations: 264.1 kB / 422.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.03399, allocations: 0.5232 MB / 423 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.03401, allocations: 148.9 kB / 423.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.03403, allocations: 148.9 kB / 423.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.182e-05/0.03406, allocations: 272 kB / 423.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.03409, allocations: 264.1 kB / 423.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.511e-05/0.03414, allocations: 272 kB / 424.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-05/0.03417, allocations: 268.1 kB / 424.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.482e-05/0.03427, allocations: 455.9 kB / 424.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.0343, allocations: 160.8 kB / 425 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.03435, allocations: 268 kB / 425.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.0344, allocations: 148.9 kB / 425.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.03443, allocations: 268.1 kB / 425.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.03445, allocations: 148.8 kB / 425.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.0345, allocations: 151.9 kB / 425.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0345, allocations: 4 kB / 425.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.03464, allocations: 15.95 kB / 425.9 MB, free: 11.36 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.847e-05/0.03474, allocations: 214.4 kB / 426.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.03484, allocations: 16.03 kB / 426.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.03484, allocations: 0 / 426.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.03484, allocations: 0 / 426.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.03522, allocations: 0.7592 MB / 426.9 MB, free: 10.36 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.0008198/0.03604, allocations: 350.7 kB / 427.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.03607, allocations: 63.33 kB / 427.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.03612, allocations: 8.484 kB / 427.3 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.03614, allocations: 12.5 kB / 427.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.03614, allocations: 0 / 427.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of Templates: time 0.003189/0.03933, allocations: 1.358 MB / 428.7 MB, free: 8.57 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: 3.066350454930216]