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.06891/0.06891, allocations: 11.15 MB / 30.94 MB, free: 4.797 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.0009372/0.0009372, allocations: 97.94 kB / 38.65 MB, free: 6.898 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.0009997/0.0009997, allocations: 152.6 kB / 46.45 MB, free: 10.18 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.903/0.903, allocations: 177.2 MB / 231.3 MB, free: 4.668 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.1527/0.1527, allocations: 17.63 MB / 309.9 MB, free: 8.609 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 2.765e-06/2.765e-06, allocations: 0 / 391.7 MB, free: 45.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.415e-05, allocations: 3.297 kB / 391.7 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.SkinHeatTransferOnBloodFlow): time 0.01726/0.01729, allocations: 25.96 MB / 417.7 MB, free: 20.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.01808, allocations: 470.7 kB / 418.1 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.01816, allocations: 3.938 kB / 418.1 MB, free: 19.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.01828, allocations: 15.86 kB / 418.1 MB, free: 19.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.309e-05/0.01836, allocations: 51.5 kB / 418.2 MB, free: 19.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.488e-05/0.01842, allocations: 11.98 kB / 418.2 MB, free: 19.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.01854, allocations: 107.2 kB / 418.3 MB, free: 19.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.01864, allocations: 25.28 kB / 418.3 MB, free: 19.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.01871, allocations: 63.81 kB / 418.4 MB, free: 19.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.01877, allocations: 23.92 kB / 418.4 MB, free: 19.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.01878, allocations: 8 kB / 418.4 MB, free: 19.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.01879, allocations: 4 kB / 418.4 MB, free: 19.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.01881, allocations: 7.938 kB / 418.4 MB, free: 19.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.01884, allocations: 31.92 kB / 418.5 MB, free: 19.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.01895, allocations: 63.75 kB / 418.5 MB, free: 19.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01895, allocations: 0 / 418.5 MB, free: 19.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01895, allocations: 0 / 418.5 MB, free: 19.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.01895, allocations: 0 / 418.5 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.000277/0.01923, allocations: 440 kB / 419 MB, free: 18.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.01927, allocations: 12.03 kB / 419 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.01929, allocations: 16.89 kB / 419 MB, free: 18.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.01941, allocations: 164.3 kB / 419.2 MB, free: 18.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.01942, allocations: 384 / 419.2 MB, free: 18.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.01943, allocations: 12.31 kB / 419.2 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.57e-05/0.0195, allocations: 50.19 kB / 419.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.01951, allocations: 192 / 419.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.01951, allocations: 4.375 kB / 419.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.01952, allocations: 3.938 kB / 419.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.01954, allocations: 11.98 kB / 419.2 MB, free: 18.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.01983, allocations: 0.522 MB / 419.8 MB, free: 18.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.01988, allocations: 273.4 kB / 420 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.0199, allocations: 130.9 kB / 420.2 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.01991, allocations: 119.2 kB / 420.3 MB, free: 17.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01993, allocations: 152.6 kB / 420.4 MB, free: 17.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.01993, allocations: 0 / 420.4 MB, free: 17.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.712e-05/0.01998, allocations: 41.66 kB / 420.5 MB, free: 17.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.02001, allocations: 174.6 kB / 420.6 MB, free: 17.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.02009, allocations: 206.5 kB / 420.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.02009, allocations: 29.69 kB / 420.9 MB, free: 16.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.02014, allocations: 166.7 kB / 421 MB, free: 16.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.02014, allocations: 3.938 kB / 421 MB, free: 16.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.02016, allocations: 15.38 kB / 421 MB, free: 16.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.02021, allocations: 0.5 MB / 421.5 MB, free: 16.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.02022, allocations: 0 / 421.5 MB, free: 16.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.02022, allocations: 4 kB / 421.5 MB, free: 16.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.02024, allocations: 11.86 kB / 421.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.02024, allocations: 3.938 kB / 421.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.95e-05/0.0203, allocations: 37.66 kB / 421.6 MB, free: 16.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.02031, allocations: 4 kB / 421.6 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.02032, allocations: 4 kB / 421.6 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.02033, allocations: 0 / 421.6 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-05/0.02036, allocations: 7.938 kB / 421.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.02037, allocations: 0 / 421.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.02038, allocations: 0 / 421.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.02039, allocations: 4 kB / 421.6 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 6.216e-05/0.02045, allocations: 283.7 kB / 421.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.02047, allocations: 152.8 kB / 422 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.0205, allocations: 156.8 kB / 422.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.02053, allocations: 272 kB / 422.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/0.02055, allocations: 276.1 kB / 422.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.02057, allocations: 268 kB / 423 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.737e-05/0.02067, allocations: 0.4887 MB / 423.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.02069, allocations: 152.9 kB / 423.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.0207, allocations: 152.9 kB / 423.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/0.02072, allocations: 264.1 kB / 424 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.02075, allocations: 272 kB / 424.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-05/0.02077, allocations: 272.1 kB / 424.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.393e-05/0.0208, allocations: 268 kB / 424.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.285e-05/0.02086, allocations: 451.9 kB / 425.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.02088, allocations: 156.8 kB / 425.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.02091, allocations: 264.1 kB / 425.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.02095, allocations: 160.8 kB / 425.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.02098, allocations: 264.1 kB / 426.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.02099, allocations: 144.9 kB / 426.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.02102, allocations: 151.8 kB / 426.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02102, allocations: 0 / 426.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.02115, allocations: 23.89 kB / 426.4 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 6.629e-05/0.02122, allocations: 210.4 kB / 426.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.661e-05/0.02127, allocations: 8.031 kB / 426.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02127, allocations: 0 / 426.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.02127, allocations: 4 kB / 426.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.02156, allocations: 0.7546 MB / 427.4 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.000568/0.02212, allocations: 358.6 kB / 427.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.433e-05/0.02215, allocations: 67.28 kB / 427.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.02218, allocations: 12.47 kB / 427.8 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.02224, allocations: 94.19 kB / 427.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02224, allocations: 0 / 427.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of Templates: time 0.00249/0.02473, allocations: 1.375 MB / 429.3 MB, free: 8.254 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.921931107994169]