Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001037, allocations: 174.8 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.302/1.302, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.001039/0.001039, allocations: 77.33 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.397/0.397, allocations: 37.06 MB / 373.6 MB, free: 45.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/3.04e-05, allocations: 8 kB / 441.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 60.08 MB / 0.4898 GB, free: 3.316 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.417/0.5557, allocations: 91.08 MB / 0.5788 GB, free: 1.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.556, allocations: 71.95 kB / 0.5788 GB, free: 1.578 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 core.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$core. 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.007333/0.5633, allocations: 3.22 MB / 0.582 GB, free: 14.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5633, allocations: 3.938 kB / 0.582 GB, free: 14.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.5633, allocations: 4 kB / 0.582 GB, free: 14.39 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.0003562/0.5637, allocations: 400.5 kB / 0.5824 GB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5638, allocations: 8.031 kB / 0.5824 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.5638, allocations: 15.81 kB / 0.5824 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.5641, allocations: 267.9 kB / 0.5827 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5642, allocations: 0 / 0.5827 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.5642, allocations: 4 kB / 0.5827 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.5643, allocations: 57.69 kB / 0.5827 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5643, allocations: 2.734 kB / 0.5827 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.5643, allocations: 0 / 0.5827 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5643, allocations: 0 / 0.5827 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.5644, allocations: 35.92 kB / 0.5828 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.5649, allocations: 0.4918 MB / 0.5832 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.565, allocations: 165.1 kB / 0.5834 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.565, allocations: 88.14 kB / 0.5835 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.5651, allocations: 79.28 kB / 0.5836 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.5651, allocations: 113.8 kB / 0.5837 GB, free: 12.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5651, allocations: 0 / 0.5837 GB, free: 12.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.598e-05/0.5652, allocations: 46.02 kB / 0.5837 GB, free: 12.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.5653, allocations: 126.7 kB / 0.5838 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.5655, allocations: 201.1 kB / 0.584 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.5655, allocations: 25.7 kB / 0.584 GB, free: 12.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.5656, allocations: 132.1 kB / 0.5842 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.5656, allocations: 0 / 0.5842 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.5656, allocations: 0.5625 kB / 0.5842 GB, free: 11.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5657, allocations: 322.9 kB / 0.5845 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.5657, allocations: 7.938 kB / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.5657, allocations: 0 / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.5658, allocations: 8.062 kB / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5658, allocations: 0 / 0.5845 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.681e-05/0.5659, allocations: 62.28 kB / 0.5846 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5659, allocations: 9.875 kB / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5659, allocations: 0 / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5659, allocations: 3.953 kB / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.416e-05/0.566, allocations: 0 / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.566, allocations: 0 / 0.5846 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.566, allocations: 4 kB / 0.5846 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.566, allocations: 0 / 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 7.836e-05/0.5661, allocations: 180.3 kB / 0.5847 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.5662, allocations: 116.8 kB / 0.5849 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.5663, allocations: 129 kB / 0.585 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.32e-05/0.5663, allocations: 184.2 kB / 0.5852 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.998e-05/0.5664, allocations: 176.3 kB / 0.5853 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.5665, allocations: 188.2 kB / 0.5855 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.5667, allocations: 449.5 kB / 0.5859 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.621e-05/0.5668, allocations: 108.9 kB / 0.586 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.5668, allocations: 105 kB / 0.5861 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.787e-05/0.5669, allocations: 176.3 kB / 0.5863 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.5669, allocations: 184.2 kB / 0.5865 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-05/0.567, allocations: 180.3 kB / 0.5866 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.234e-05/0.5671, allocations: 192.2 kB / 0.5868 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.5672, allocations: 311.6 kB / 0.5871 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.5673, allocations: 197.9 kB / 0.5873 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.5674, allocations: 184.3 kB / 0.5875 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.5675, allocations: 104.9 kB / 0.5876 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.5676, allocations: 181.3 kB / 0.5878 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.5676, allocations: 108.9 kB / 0.5879 GB, free: 7.961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.5678, allocations: 169.4 kB / 0.588 GB, free: 7.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5678, allocations: 0 / 0.588 GB, free: 7.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.568, allocations: 16 kB / 0.588 GB, free: 7.781 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.0001036/0.5681, allocations: 170.5 kB / 0.5882 GB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.463e-05/0.5681, allocations: 8 kB / 0.5882 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5682, allocations: 3.938 kB / 0.5882 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.5682, allocations: 0 / 0.5882 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.5688, allocations: 0.6012 MB / 0.5888 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.569, allocations: 225.4 kB / 0.589 GB, free: 6.746 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.5693, allocations: 0.7166 MB / 0.5897 GB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.303e-05/0.5694, allocations: 16.67 kB / 0.5897 GB, free: 5.992 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.5694, allocations: 11.44 kB / 0.5897 GB, free: 5.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5694, allocations: 4 kB / 0.5898 GB, free: 5.977 MB / 410.7 MB Notification: Performance of Templates: time 0.004331/0.5737, allocations: 2.28 MB / 0.592 GB, free: 3.773 MB / 410.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)