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/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-beta1 (/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.5 MB / 229.6 MB, free: 3.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000859/0.0008591, allocations: 102 kB / 280.5 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3489/0.3489, allocations: 37.07 MB / 368.3 MB, free: 47.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.544e-05, allocations: 4 kB / 434.6 MB, free: 4.555 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 60.08 MB / 494.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3488/0.4791, allocations: 90.41 MB / 0.5714 GB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4794, allocations: 71.95 kB / 0.5715 GB, free: 9.008 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66: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/Thermal.mo:312:7-312:66: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.007403/0.4868, allocations: 3.2 MB / 0.5746 GB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4868, allocations: 0.5625 kB / 0.5746 GB, free: 5.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.4868, allocations: 4 kB / 0.5746 GB, free: 5.855 MB / 394.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.0003675/0.4872, allocations: 401.6 kB / 0.575 GB, free: 5.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4872, allocations: 8.031 kB / 0.575 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.4873, allocations: 15.81 kB / 0.575 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.4876, allocations: 262.1 kB / 0.5753 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4876, allocations: 4.75 kB / 0.5753 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.4877, allocations: 4 kB / 0.5753 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.676e-05/0.4877, allocations: 20 kB / 0.5753 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/0.4878, allocations: 52.44 kB / 0.5753 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4878, allocations: 0 / 0.5753 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.4879, allocations: 0 / 0.5753 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4879, allocations: 0 / 0.5753 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.4883, allocations: 475.7 kB / 0.5758 GB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.4884, allocations: 169.1 kB / 0.576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.4885, allocations: 88.08 kB / 0.576 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.4885, allocations: 79.27 kB / 0.5761 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.4885, allocations: 105.8 kB / 0.5762 GB, free: 4.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4886, allocations: 4 kB / 0.5762 GB, free: 4.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.154e-05/0.4886, allocations: 45.47 kB / 0.5763 GB, free: 4.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.4887, allocations: 51.41 kB / 0.5763 GB, free: 3.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.4889, allocations: 174.1 kB / 0.5765 GB, free: 3.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.4889, allocations: 25.7 kB / 0.5765 GB, free: 3.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.489, allocations: 128 kB / 0.5766 GB, free: 3.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.489, allocations: 0 / 0.5766 GB, free: 3.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.489, allocations: 0 / 0.5766 GB, free: 3.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4891, allocations: 330.8 kB / 0.5769 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.4891, allocations: 0 / 0.5769 GB, free: 3.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.4891, allocations: 7.938 kB / 0.577 GB, free: 3.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.752e-05/0.4891, allocations: 4 kB / 0.577 GB, free: 3.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4892, allocations: 112 / 0.577 GB, free: 3.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.274e-05/0.4892, allocations: 49.45 kB / 0.577 GB, free: 3.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.4893, allocations: 4 kB / 0.577 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4893, allocations: 0 / 0.577 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4893, allocations: 0 / 0.577 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.4893, allocations: 8.078 kB / 0.577 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4894, allocations: 7.953 kB / 0.577 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.4894, allocations: 0 / 0.577 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.4894, allocations: 0 / 0.577 GB, free: 3.191 MB / 394.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 () * 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 8.744e-05/0.4895, allocations: 176.3 kB / 0.5772 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.4896, allocations: 120.9 kB / 0.5773 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.4896, allocations: 125.3 kB / 0.5774 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-05/0.4897, allocations: 184.3 kB / 0.5776 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.118e-05/0.4898, allocations: 180.2 kB / 0.5778 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/0.4898, allocations: 180.2 kB / 0.5779 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.4901, allocations: 425.7 kB / 0.5783 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/0.4901, allocations: 104.9 kB / 0.5784 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.4902, allocations: 101 kB / 0.5785 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.405e-05/0.4902, allocations: 188.2 kB / 0.5787 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.4903, allocations: 184.2 kB / 0.5789 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-05/0.4904, allocations: 176.3 kB / 0.5791 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.107e-05/0.4904, allocations: 176.3 kB / 0.5792 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.4906, allocations: 327.5 kB / 0.5795 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.4906, allocations: 189.9 kB / 0.5797 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/0.4907, allocations: 184.2 kB / 0.5799 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4908, allocations: 101 kB / 0.58 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.4909, allocations: 188.2 kB / 0.5802 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.491, allocations: 106 kB / 0.5803 GB, free: 15.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.4911, allocations: 144.7 kB / 0.5804 GB, free: 15.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4911, allocations: 0 / 0.5804 GB, free: 15.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.4913, allocations: 19.94 kB / 0.5804 GB, free: 15.48 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 () * 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 0.000113/0.4914, allocations: 171.8 kB / 0.5806 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.043e-05/0.4915, allocations: 4 kB / 0.5806 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4915, allocations: 0 / 0.5806 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.4915, allocations: 0 / 0.5806 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.4921, allocations: 0.5962 MB / 0.5812 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.4924, allocations: 216.5 kB / 0.5814 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4926, allocations: 0.7162 MB / 0.5821 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.4927, allocations: 23.38 kB / 0.5821 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.4927, allocations: 11.44 kB / 0.5821 GB, free: 13.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4928, allocations: 0 / 0.5821 GB, free: 13.7 MB / 410.7 MB Notification: Performance of Templates: time 0.003739/0.4965, allocations: 1.789 MB / 0.5839 GB, free: 11.98 MB / 410.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)