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.001055/0.001055, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009011/0.000901, allocations: 78.48 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3867/0.3867, allocations: 37.07 MB / 373.6 MB, free: 45.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.582e-05, allocations: 8 kB / 441.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 60.08 MB / 0.4898 GB, free: 3.305 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5661, allocations: 91.07 MB / 0.5788 GB, free: 1.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5664, allocations: 75.95 kB / 0.5788 GB, free: 1.574 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.007905/0.5743, allocations: 3.233 MB / 0.582 GB, free: 14.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5743, allocations: 0 / 0.582 GB, free: 14.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.5743, allocations: 7.984 kB / 0.582 GB, free: 14.38 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.0003733/0.5747, allocations: 396.5 kB / 0.5824 GB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5748, allocations: 8.031 kB / 0.5824 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.5748, allocations: 15.81 kB / 0.5824 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.5752, allocations: 267.9 kB / 0.5827 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5752, allocations: 4 kB / 0.5827 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.5753, allocations: 4 kB / 0.5827 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5754, allocations: 53.69 kB / 0.5827 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5754, allocations: 2.734 kB / 0.5827 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5754, allocations: 4 kB / 0.5827 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5754, allocations: 0 / 0.5827 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.5755, allocations: 23.94 kB / 0.5828 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.5761, allocations: 0.4913 MB / 0.5832 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/0.5762, allocations: 169.1 kB / 0.5834 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.5762, allocations: 84.12 kB / 0.5835 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.5762, allocations: 79.28 kB / 0.5836 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.5763, allocations: 113.8 kB / 0.5837 GB, free: 12.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5763, allocations: 0 / 0.5837 GB, free: 12.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.5764, allocations: 45.45 kB / 0.5837 GB, free: 12.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.5765, allocations: 126.7 kB / 0.5838 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.5767, allocations: 201.1 kB / 0.584 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.5767, allocations: 31.66 kB / 0.584 GB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.5768, allocations: 120.1 kB / 0.5842 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/0.5768, allocations: 4 kB / 0.5842 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5768, allocations: 0 / 0.5842 GB, free: 11.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.577, allocations: 326.9 kB / 0.5845 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.577, allocations: 3.938 kB / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.577, allocations: 8 kB / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.792e-05/0.577, allocations: 0 / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.577, allocations: 0 / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.5771, allocations: 61.34 kB / 0.5845 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5771, allocations: 8.094 kB / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5772, allocations: 0 / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5772, allocations: 3.953 kB / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.5772, allocations: 4 kB / 0.5846 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5772, allocations: 0 / 0.5846 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.5773, allocations: 0 / 0.5846 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5773, allocations: 4 kB / 0.5846 GB, free: 11.55 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 () * 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 0.0001239/0.5774, allocations: 176.3 kB / 0.5847 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/0.5775, allocations: 120.8 kB / 0.5849 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.5776, allocations: 125.8 kB / 0.585 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.5777, allocations: 180.2 kB / 0.5851 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/0.5778, allocations: 192.1 kB / 0.5853 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-05/0.5778, allocations: 180.3 kB / 0.5855 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.5781, allocations: 449.5 kB / 0.5859 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/0.5782, allocations: 112.9 kB / 0.586 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.5782, allocations: 101 kB / 0.5861 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.971e-05/0.5783, allocations: 184.2 kB / 0.5863 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.5784, allocations: 180.3 kB / 0.5865 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.865e-05/0.5784, allocations: 176.3 kB / 0.5866 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.007e-05/0.5785, allocations: 188.2 kB / 0.5868 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.5787, allocations: 323.6 kB / 0.5871 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5788, allocations: 197.9 kB / 0.5873 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.5789, allocations: 176.3 kB / 0.5875 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.579, allocations: 108.9 kB / 0.5876 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.5791, allocations: 185.3 kB / 0.5878 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.5791, allocations: 108.9 kB / 0.5879 GB, free: 7.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.5793, allocations: 165.4 kB / 0.588 GB, free: 7.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5793, allocations: 0 / 0.588 GB, free: 7.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.5795, allocations: 20 kB / 0.5881 GB, free: 7.766 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.0001184/0.5796, allocations: 162.5 kB / 0.5882 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.456e-05/0.5797, allocations: 8 kB / 0.5882 GB, free: 7.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5797, allocations: 3.938 kB / 0.5882 GB, free: 7.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.5797, allocations: 0 / 0.5882 GB, free: 7.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.5804, allocations: 0.6039 MB / 0.5888 GB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.5807, allocations: 221.4 kB / 0.589 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.581, allocations: 0.7165 MB / 0.5897 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.5811, allocations: 21.84 kB / 0.5897 GB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.5811, allocations: 15.44 kB / 0.5898 GB, free: 5.965 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5811, allocations: 0 / 0.5898 GB, free: 5.965 MB / 410.7 MB Notification: Performance of Templates: time 0.004761/0.5859, allocations: 2.276 MB / 0.592 GB, free: 3.754 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)