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.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1119/0.1119, allocations: 15.28 MB / 30.51 MB, free: 4.355 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 116.3 kB / 35.49 MB, free: 3.395 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 192.5 kB / 40.59 MB, free: 7.465 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 268.4 MB, free: 7.465 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1448/0.1448, allocations: 23.35 MB / 346.1 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 103.8 kB / 417.7 MB, free: 30.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 59.38 MB / 477 MB, free: 3.309 MB / 334.1 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.03058/0.1464, allocations: 20.83 MB / 497.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1475, allocations: 482.8 kB / 498.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1478, allocations: 11.88 kB / 498.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.1479, allocations: 11.92 kB / 498.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1481, allocations: 39.69 kB / 498.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.506e-05/0.1481, allocations: 7.984 kB / 498.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1483, allocations: 111.3 kB / 498.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1484, allocations: 37.08 kB / 498.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.1485, allocations: 39.75 kB / 498.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.1485, allocations: 39.8 kB / 498.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1486, allocations: 4 kB / 498.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.1486, allocations: 4 kB / 498.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.1486, allocations: 15.92 kB / 498.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1487, allocations: 43.75 kB / 498.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1488, allocations: 87.66 kB / 498.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1488, allocations: 0 / 498.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1488, allocations: 0 / 498.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1489, allocations: 0 / 498.8 MB, free: 13.69 MB / 366.1 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.0004746/0.1493, allocations: 414.8 kB / 499.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1494, allocations: 12.03 kB / 499.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1494, allocations: 12.84 kB / 499.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1497, allocations: 208 kB / 499.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1497, allocations: 4.375 kB / 499.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1497, allocations: 4.375 kB / 499.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1498, allocations: 65.88 kB / 499.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1498, allocations: 0 / 499.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1499, allocations: 4 kB / 499.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1499, allocations: 8 kB / 499.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.1499, allocations: 23.98 kB / 499.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.1504, allocations: 479.1 kB / 500 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.1505, allocations: 173.1 kB / 0.4884 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.1505, allocations: 80.14 kB / 0.4885 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1506, allocations: 75.28 kB / 0.4886 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.1506, allocations: 113.8 kB / 0.4887 GB, free: 11.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1506, allocations: 0 / 0.4887 GB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.404e-05/0.1507, allocations: 41.64 kB / 0.4887 GB, free: 11.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.1508, allocations: 142.6 kB / 0.4889 GB, free: 11.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1509, allocations: 175.7 kB / 0.489 GB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.1509, allocations: 25.7 kB / 0.4891 GB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.151, allocations: 116 kB / 0.4892 GB, free: 11.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.151, allocations: 3.984 kB / 0.4892 GB, free: 11.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.1511, allocations: 9.719 kB / 0.4892 GB, free: 11.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1512, allocations: 330.8 kB / 0.4895 GB, free: 11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.1512, allocations: 0 / 0.4895 GB, free: 11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-06/0.1512, allocations: 8 kB / 0.4895 GB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.1512, allocations: 12.8 kB / 0.4895 GB, free: 10.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1513, allocations: 0 / 0.4895 GB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.934e-05/0.1514, allocations: 41.61 kB / 0.4896 GB, free: 10.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1514, allocations: 8.109 kB / 0.4896 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1514, allocations: 3.938 kB / 0.4896 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1514, allocations: 0 / 0.4896 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.1515, allocations: 3.938 kB / 0.4896 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1515, allocations: 0 / 0.4896 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.1515, allocations: 12 kB / 0.4896 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.1515, allocations: 0 / 0.4896 GB, free: 10.9 MB / 366.1 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.152e-05/0.1516, allocations: 193.1 kB / 0.4898 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.1517, allocations: 112.8 kB / 0.4899 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.1517, allocations: 113.5 kB / 0.49 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/0.1518, allocations: 192.1 kB / 0.4902 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-05/0.1518, allocations: 184.3 kB / 0.4903 GB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.645e-05/0.1519, allocations: 176.3 kB / 0.4905 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.1521, allocations: 441.1 kB / 0.4909 GB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/0.1522, allocations: 101 kB / 0.491 GB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1522, allocations: 108.9 kB / 0.4911 GB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.443e-05/0.1523, allocations: 176.3 kB / 0.4913 GB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.1523, allocations: 180.3 kB / 0.4915 GB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.224e-05/0.1524, allocations: 192.1 kB / 0.4917 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.814e-05/0.1525, allocations: 176.3 kB / 0.4918 GB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.1526, allocations: 315.7 kB / 0.4921 GB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.1527, allocations: 197.9 kB / 0.4923 GB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.1527, allocations: 184.2 kB / 0.4925 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.1528, allocations: 108.9 kB / 0.4926 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1529, allocations: 184.2 kB / 0.4928 GB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.1529, allocations: 101 kB / 0.4929 GB, free: 7.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.251e-05/0.153, allocations: 137.2 kB / 0.493 GB, free: 7.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 4 kB / 0.493 GB, free: 7.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1533, allocations: 12 kB / 0.493 GB, free: 7.156 MB / 366.1 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.558e-05/0.1534, allocations: 170.5 kB / 0.4932 GB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.922e-05/0.1534, allocations: 8 kB / 0.4932 GB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1535, allocations: 0 / 0.4932 GB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1535, allocations: 3.938 kB / 0.4932 GB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.154, allocations: 0.5062 MB / 0.4937 GB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.1544, allocations: 300.1 kB / 0.494 GB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1547, allocations: 0.7 MB / 0.4946 GB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.1547, allocations: 8.656 kB / 0.4947 GB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.1547, allocations: 15.38 kB / 0.4947 GB, free: 5.387 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1548, allocations: 3.938 kB / 0.4947 GB, free: 5.383 MB / 366.1 MB Notification: Performance of Templates: time 0.003819/0.1586, allocations: 1.524 MB / 0.4962 GB, free: 3.895 MB / 366.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)