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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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 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.07827/0.07827, allocations: 15.27 MB / 31.21 MB, free: 3.23 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009126/0.0009127, allocations: 181.4 kB / 36.3 MB, free: 2.266 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 264.5 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008953/0.0008955, allocations: 94.38 kB / 319.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1008/0.1008, allocations: 20.56 MB / 395.8 MB, free: 43.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004956, allocations: 23.98 kB / 467.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2737, allocations: 59.77 MB / 0.515 GB, free: 41.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3746, allocations: 91.98 MB / 0.6048 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.3748, allocations: 79.97 kB / 0.6049 GB, free: 13.15 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System bodyCore.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$bodyCore. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System skin.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$skin. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.007368/0.3822, allocations: 3.208 MB / 0.608 GB, free: 9.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3822, allocations: 0 / 0.608 GB, free: 9.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3822, allocations: 8 kB / 0.6081 GB, free: 9.926 MB / 410.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.0004088/0.3826, allocations: 435.4 kB / 0.6085 GB, free: 9.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3827, allocations: 8.031 kB / 0.6085 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.3827, allocations: 16.75 kB / 0.6085 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.383, allocations: 271.6 kB / 0.6087 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.383, allocations: 8.375 kB / 0.6088 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3831, allocations: 384 / 0.6088 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3832, allocations: 60.98 kB / 0.6088 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3832, allocations: 8.172 kB / 0.6088 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3832, allocations: 7.922 kB / 0.6088 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3832, allocations: 0 / 0.6088 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.3833, allocations: 20 kB / 0.6088 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.3837, allocations: 0.4912 MB / 0.6093 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.3838, allocations: 177.1 kB / 0.6095 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.3839, allocations: 80.14 kB / 0.6096 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3839, allocations: 75.28 kB / 0.6096 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3839, allocations: 109.8 kB / 0.6098 GB, free: 8.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.3839, allocations: 0 / 0.6098 GB, free: 8.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.603e-05/0.384, allocations: 45.52 kB / 0.6098 GB, free: 7.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3841, allocations: 126.7 kB / 0.6099 GB, free: 7.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3843, allocations: 236.9 kB / 0.6101 GB, free: 7.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.3843, allocations: 25.7 kB / 0.6102 GB, free: 7.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.3844, allocations: 135.9 kB / 0.6103 GB, free: 7.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.3844, allocations: 0 / 0.6103 GB, free: 7.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.3844, allocations: 0 / 0.6103 GB, free: 7.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.3845, allocations: 331 kB / 0.6106 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.3845, allocations: 4 kB / 0.6106 GB, free: 7.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.3845, allocations: 4 kB / 0.6106 GB, free: 7.082 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.3845, allocations: 4.859 kB / 0.6106 GB, free: 7.074 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3845, allocations: 0 / 0.6106 GB, free: 7.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.685e-05/0.3846, allocations: 53.52 kB / 0.6107 GB, free: 7.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3847, allocations: 6.344 kB / 0.6107 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3847, allocations: 0 / 0.6107 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3847, allocations: 0 / 0.6107 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.075e-05/0.3847, allocations: 3.938 kB / 0.6107 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3847, allocations: 12.03 kB / 0.6107 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.3848, allocations: 0 / 0.6107 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.3848, allocations: 4 kB / 0.6107 GB, free: 6.992 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.3849, allocations: 197.1 kB / 0.6109 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.385, allocations: 124.8 kB / 0.611 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.385, allocations: 121.8 kB / 0.6111 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/0.3851, allocations: 180.3 kB / 0.6113 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.227e-05/0.3851, allocations: 180.2 kB / 0.6115 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/0.3852, allocations: 186.9 kB / 0.6116 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.3854, allocations: 453.2 kB / 0.6121 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.3855, allocations: 105 kB / 0.6122 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.3855, allocations: 104.9 kB / 0.6123 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.371e-05/0.3856, allocations: 180.3 kB / 0.6124 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.3856, allocations: 184.2 kB / 0.6126 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.52e-05/0.3857, allocations: 180.3 kB / 0.6128 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-05/0.3857, allocations: 188.1 kB / 0.613 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3858, allocations: 315.6 kB / 0.6133 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.3859, allocations: 205.7 kB / 0.6135 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.386, allocations: 176.3 kB / 0.6136 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.279e-05/0.3861, allocations: 108.9 kB / 0.6137 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3862, allocations: 184.2 kB / 0.6139 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3862, allocations: 105 kB / 0.614 GB, free: 3.363 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.3863, allocations: 168.5 kB / 0.6142 GB, free: 3.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.3864, allocations: 0 / 0.6142 GB, free: 3.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.3866, allocations: 19.94 kB / 0.6142 GB, free: 3.176 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.81e-05/0.3867, allocations: 166.5 kB / 0.6144 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.256e-05/0.3867, allocations: 8 kB / 0.6144 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3867, allocations: 0 / 0.6144 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.3867, allocations: 0 / 0.6144 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.3874, allocations: 0.6102 MB / 0.615 GB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.3878, allocations: 360.4 kB / 0.6153 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.3881, allocations: 0.7088 MB / 0.616 GB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.573e-05/0.3881, allocations: 17.53 kB / 0.616 GB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.3882, allocations: 11.44 kB / 0.616 GB, free: 1.246 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3882, allocations: 4 kB / 0.616 GB, free: 1.242 MB / 410.7 MB Notification: Performance of Templates: time 0.004756/0.3929, allocations: 2.327 MB / 0.6183 GB, free: 14.98 MB / 426.7 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)