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.05085/0.05085, allocations: 11.16 MB / 30.72 MB, free: 4.395 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.0007265/0.0007265, allocations: 98.17 kB / 38.4 MB, free: 7 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.0008813/0.0008813, allocations: 164.5 kB / 46.17 MB, free: 10.33 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.8718/0.8718, allocations: 177.2 MB / 231 MB, free: 4.758 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.08625/0.08625, allocations: 17.62 MB / 309.5 MB, free: 8.723 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 1.663e-06/1.663e-06, allocations: 0 / 391.2 MB, free: 46.2 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.559e-05, allocations: 2.312 kB / 391.2 MB, free: 46.2 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.01714/0.01715, allocations: 25.9 MB / 417.1 MB, free: 20.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005763/0.01773, allocations: 462.8 kB / 417.6 MB, free: 20.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.01779, allocations: 7.938 kB / 417.6 MB, free: 20.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 8.49e-05/0.01788, allocations: 15.8 kB / 417.6 MB, free: 20.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.01794, allocations: 47.62 kB / 417.6 MB, free: 20.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.71e-05/0.01798, allocations: 7.984 kB / 417.7 MB, free: 20.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.01807, allocations: 123.2 kB / 417.8 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.01815, allocations: 21.28 kB / 417.8 MB, free: 19.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.01819, allocations: 51.89 kB / 417.8 MB, free: 19.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.01824, allocations: 35.84 kB / 417.9 MB, free: 19.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.01826, allocations: 4 kB / 417.9 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.01826, allocations: 4 kB / 417.9 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.01828, allocations: 19.86 kB / 417.9 MB, free: 19.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.01831, allocations: 27.94 kB / 417.9 MB, free: 19.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.01839, allocations: 63.77 kB / 418 MB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.01839, allocations: 0 / 418 MB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01839, allocations: 0 / 418 MB, free: 19.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.0184, allocations: 0 / 418 MB, free: 19.71 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.0002481/0.01865, allocations: 436.1 kB / 418.4 MB, free: 19.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.01867, allocations: 12.03 kB / 418.4 MB, free: 19.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.0187, allocations: 12.89 kB / 418.5 MB, free: 19.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.01882, allocations: 172.2 kB / 418.6 MB, free: 19.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.01883, allocations: 384 / 418.6 MB, free: 19.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.01884, allocations: 4.375 kB / 418.6 MB, free: 19.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.203e-05/0.0189, allocations: 50.25 kB / 418.7 MB, free: 18.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.01891, allocations: 4.188 kB / 418.7 MB, free: 18.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.01891, allocations: 384 / 418.7 MB, free: 18.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.01892, allocations: 7.938 kB / 418.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.01895, allocations: 23.86 kB / 418.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.0192, allocations: 0.537 MB / 419.2 MB, free: 18.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.01924, allocations: 273.4 kB / 419.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.244e-05/0.01925, allocations: 130.9 kB / 419.6 MB, free: 17.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.01926, allocations: 119.2 kB / 419.8 MB, free: 17.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.01928, allocations: 160.6 kB / 419.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.01928, allocations: 0 / 419.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 3.995e-05/0.01932, allocations: 41.59 kB / 420 MB, free: 17.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.01934, allocations: 170.6 kB / 420.1 MB, free: 17.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.01942, allocations: 214.6 kB / 420.3 MB, free: 17.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-06/0.01942, allocations: 25.7 kB / 420.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.01946, allocations: 170.7 kB / 420.5 MB, free: 17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.01946, allocations: 0 / 420.5 MB, free: 17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.01948, allocations: 15.38 kB / 420.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.01951, allocations: 0.4961 MB / 421 MB, free: 16.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.01952, allocations: 0 / 421 MB, free: 16.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.01952, allocations: 4 kB / 421 MB, free: 16.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.01955, allocations: 11.75 kB / 421 MB, free: 16.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01955, allocations: 0 / 421 MB, free: 16.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.951e-05/0.01961, allocations: 45.59 kB / 421.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.01962, allocations: 8 kB / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.01962, allocations: 0 / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.01963, allocations: 0 / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.938e-05/0.01966, allocations: 0 / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01966, allocations: 0 / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/0.01968, allocations: 0 / 421.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.01968, allocations: 4 kB / 421.1 MB, free: 16.39 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 3.529e-05/0.01972, allocations: 283.7 kB / 421.4 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.01974, allocations: 156.9 kB / 421.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.01976, allocations: 164.8 kB / 421.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.01978, allocations: 272.1 kB / 422 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/0.0198, allocations: 268 kB / 422.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.01982, allocations: 268.1 kB / 422.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.078e-05/0.01991, allocations: 0.5193 MB / 423 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.01992, allocations: 144.9 kB / 423.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/0.01993, allocations: 148.9 kB / 423.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/0.01995, allocations: 276 kB / 423.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.01997, allocations: 268.1 kB / 423.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.62e-05/0.01998, allocations: 272 kB / 424.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/0.02, allocations: 268.1 kB / 424.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.888e-05/0.02005, allocations: 455.8 kB / 424.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.02007, allocations: 152.8 kB / 424.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.0201, allocations: 272 kB / 425.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.02013, allocations: 144.9 kB / 425.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.02015, allocations: 276 kB / 425.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.02016, allocations: 144.9 kB / 425.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.0202, allocations: 155.9 kB / 425.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0202, allocations: 0 / 425.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.02034, allocations: 23.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 4.176e-05/0.02038, allocations: 206.4 kB / 426.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.209e-05/0.02042, allocations: 16.03 kB / 426.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.02042, allocations: 0 / 426.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.02043, allocations: 3.938 kB / 426.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.02069, allocations: 0.7599 MB / 426.9 MB, free: 10.37 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.0006006/0.02129, allocations: 354.7 kB / 427.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.112e-05/0.02132, allocations: 59.34 kB / 427.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.28e-05/0.02134, allocations: 8.484 kB / 427.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.02136, allocations: 20.48 kB / 427.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.02136, allocations: 0 / 427.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of Templates: time 0.002132/0.02349, allocations: 1.269 MB / 428.6 MB, free: 8.66 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: 2.881757549010217]