Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.05053/0.05053, allocations: 11.15 MB / 30.71 MB, free: 3.984 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.001506/0.001506, allocations: 104.9 kB / 38.44 MB, free: 6.531 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.001847/0.001847, allocations: 156.5 kB / 46.2 MB, free: 9.777 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.9054/0.9054, allocations: 177.2 MB / 231 MB, free: 4.773 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.1141/0.1141, allocations: 17.63 MB / 309.6 MB, free: 8.711 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.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 391.2 MB, free: 46.18 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.577e-05, allocations: 12.17 kB / 391.3 MB, free: 46.17 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.SkinHeatTransferOnBloodFlow): time 0.01961/0.01963, allocations: 25.91 MB / 417.2 MB, free: 20.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.0204, allocations: 462.8 kB / 417.6 MB, free: 20.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.02049, allocations: 3.938 kB / 417.6 MB, free: 20.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.0206, allocations: 23.8 kB / 417.6 MB, free: 20.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.02069, allocations: 43.62 kB / 417.7 MB, free: 20.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.72e-05/0.02074, allocations: 11.98 kB / 417.7 MB, free: 20.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.02086, allocations: 119.2 kB / 417.8 MB, free: 19.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.02096, allocations: 21.28 kB / 417.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.02102, allocations: 51.89 kB / 417.9 MB, free: 19.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.02108, allocations: 27.92 kB / 417.9 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.0211, allocations: 4 kB / 417.9 MB, free: 19.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.02111, allocations: 4 kB / 417.9 MB, free: 19.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.02113, allocations: 23.84 kB / 417.9 MB, free: 19.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.02116, allocations: 31.88 kB / 418 MB, free: 19.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.02128, allocations: 63.77 kB / 418 MB, free: 19.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.02128, allocations: 0 / 418 MB, free: 19.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02128, allocations: 0 / 418 MB, free: 19.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.02129, allocations: 0 / 418 MB, free: 19.69 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.0003226/0.02161, allocations: 432.1 kB / 418.5 MB, free: 19.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.02164, allocations: 8.031 kB / 418.5 MB, free: 19.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.02168, allocations: 16.88 kB / 418.5 MB, free: 19.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.02184, allocations: 176.2 kB / 418.7 MB, free: 19.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.02185, allocations: 4.375 kB / 418.7 MB, free: 19.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.02186, allocations: 384 / 418.7 MB, free: 19.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.02194, allocations: 50.25 kB / 418.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.02194, allocations: 192 / 418.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.02195, allocations: 4.375 kB / 418.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.02196, allocations: 3.938 kB / 418.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.735e-05/0.02199, allocations: 15.92 kB / 418.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.0223, allocations: 0.5526 MB / 419.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.02234, allocations: 265.4 kB / 419.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.02236, allocations: 130.9 kB / 419.7 MB, free: 17.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.02237, allocations: 123.2 kB / 419.8 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.02239, allocations: 152.6 kB / 419.9 MB, free: 17.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.02239, allocations: 0 / 419.9 MB, free: 17.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.248e-05/0.02244, allocations: 37.59 kB / 420 MB, free: 17.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.02246, allocations: 170.6 kB / 420.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.02256, allocations: 222.6 kB / 420.4 MB, free: 17.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-06/0.02257, allocations: 25.7 kB / 420.4 MB, free: 17.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.02261, allocations: 162.7 kB / 420.5 MB, free: 17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.02262, allocations: 4 kB / 420.6 MB, free: 16.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.02264, allocations: 19.38 kB / 420.6 MB, free: 16.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.02267, allocations: 0.4922 MB / 421.1 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-06/0.02268, allocations: 4 kB / 421.1 MB, free: 16.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.02269, allocations: 0 / 421.1 MB, free: 16.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.02271, allocations: 7.688 kB / 421.1 MB, free: 16.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.02272, allocations: 0 / 421.1 MB, free: 16.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.325e-05/0.0228, allocations: 53.58 kB / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.02281, allocations: 4 kB / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.02282, allocations: 4.094 kB / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.02283, allocations: 0 / 421.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.53e-05/0.02288, allocations: 7.984 kB / 421.1 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.02288, allocations: 0 / 421.1 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.0229, allocations: 0 / 421.1 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.0229, allocations: 0 / 421.1 MB, free: 16.37 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.383e-05/0.02295, allocations: 275.7 kB / 421.4 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.02297, allocations: 157 kB / 421.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.02301, allocations: 172.7 kB / 421.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.02302, allocations: 264.1 kB / 422 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.02304, allocations: 276 kB / 422.3 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.02306, allocations: 268.1 kB / 422.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.02316, allocations: 0.5193 MB / 423 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.02317, allocations: 148.9 kB / 423.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.02318, allocations: 148.9 kB / 423.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/0.02319, allocations: 272 kB / 423.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.02321, allocations: 264.1 kB / 423.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-05/0.02323, allocations: 272 kB / 424.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.02325, allocations: 268.1 kB / 424.4 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.714e-05/0.02331, allocations: 455.8 kB / 424.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.02333, allocations: 152.8 kB / 425 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.02336, allocations: 280 kB / 425.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.0234, allocations: 148.9 kB / 425.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.02342, allocations: 264.1 kB / 425.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.02343, allocations: 148.8 kB / 425.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.02348, allocations: 159.9 kB / 426 MB, free: 11.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02348, allocations: 0 / 426 MB, free: 11.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.02363, allocations: 15.95 kB / 426 MB, free: 11.35 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 7.032e-05/0.0237, allocations: 206.4 kB / 426.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.02377, allocations: 12.03 kB / 426.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.02377, allocations: 4.062 kB / 426.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.02377, allocations: 3.984 kB / 426.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.02408, allocations: 0.762 MB / 427 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.0007388/0.02482, allocations: 346.6 kB / 427.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.391e-05/0.02485, allocations: 63.34 kB / 427.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.303e-05/0.02488, allocations: 8.469 kB / 427.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.0249, allocations: 12.5 kB / 427.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0249, allocations: 0 / 427.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of Templates: time 0.002599/0.0275, allocations: 1.281 MB / 428.7 MB, free: 8.645 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9389234050177038]