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.00132/0.00132, allocations: 169 kB / 7.646 MB, free: 1.426 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.397/1.397, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008822/0.0008821, allocations: 99.47 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.196/0.196, allocations: 37.09 MB / 368.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.087e-05, allocations: 0 / 434.6 MB, free: 23.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 60.08 MB / 494.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4937, allocations: 90.41 MB / 0.5714 GB, free: 9.375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.494, allocations: 68.7 kB / 0.5715 GB, free: 9.34 MB / 378.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.007393/0.5014, allocations: 3.202 MB / 0.5746 GB, free: 6.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5014, allocations: 4 kB / 0.5746 GB, free: 6.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.5014, allocations: 0 / 0.5746 GB, free: 6.723 MB / 378.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.0003591/0.5018, allocations: 401.8 kB / 0.575 GB, free: 6.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5018, allocations: 16.03 kB / 0.575 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.5019, allocations: 15.81 kB / 0.575 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.5022, allocations: 257.2 kB / 0.5753 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.5022, allocations: 4 kB / 0.5753 GB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.5023, allocations: 4 kB / 0.5753 GB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.089e-05/0.5023, allocations: 26.62 kB / 0.5753 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.5024, allocations: 46.83 kB / 0.5753 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5025, allocations: 1.312 kB / 0.5753 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5025, allocations: 0 / 0.5753 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5025, allocations: 4 kB / 0.5753 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.503, allocations: 471.4 kB / 0.5758 GB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.909e-05/0.5031, allocations: 165.1 kB / 0.576 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.5031, allocations: 87.7 kB / 0.576 GB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.5032, allocations: 75.28 kB / 0.5761 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5032, allocations: 109.8 kB / 0.5762 GB, free: 4.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.5032, allocations: 0 / 0.5762 GB, free: 4.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.665e-05/0.5033, allocations: 45.58 kB / 0.5763 GB, free: 4.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.5033, allocations: 55.34 kB / 0.5763 GB, free: 4.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.5035, allocations: 173.8 kB / 0.5765 GB, free: 4.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.5035, allocations: 29.7 kB / 0.5765 GB, free: 4.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.5036, allocations: 132.7 kB / 0.5766 GB, free: 4.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.5036, allocations: 0 / 0.5766 GB, free: 4.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.5036, allocations: 4 kB / 0.5766 GB, free: 4.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.5037, allocations: 322.1 kB / 0.5769 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.5038, allocations: 4 kB / 0.5769 GB, free: 4.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.5038, allocations: 3.938 kB / 0.577 GB, free: 4.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.618e-05/0.5038, allocations: 4 kB / 0.577 GB, free: 4.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5038, allocations: 4.062 kB / 0.577 GB, free: 4.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.115e-05/0.5039, allocations: 48.84 kB / 0.577 GB, free: 4.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5039, allocations: 8 kB / 0.577 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.5039, allocations: 0 / 0.577 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.5039, allocations: 0 / 0.577 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.504, allocations: 0 / 0.577 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.504, allocations: 3.953 kB / 0.577 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.504, allocations: 4 kB / 0.577 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.504, allocations: 0 / 0.577 GB, free: 4.184 MB / 378.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.937e-05/0.5041, allocations: 180.3 kB / 0.5772 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.5042, allocations: 117 kB / 0.5773 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.5043, allocations: 125.8 kB / 0.5774 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/0.5043, allocations: 180.2 kB / 0.5776 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.325e-05/0.5044, allocations: 176.3 kB / 0.5778 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.733e-05/0.5045, allocations: 192.1 kB / 0.5779 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.5047, allocations: 423.6 kB / 0.5784 GB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/0.5047, allocations: 105 kB / 0.5785 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.5048, allocations: 108.9 kB / 0.5786 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.066e-05/0.5048, allocations: 176.3 kB / 0.5787 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.5049, allocations: 176.3 kB / 0.5789 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.962e-05/0.5049, allocations: 184.2 kB / 0.5791 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-05/0.505, allocations: 184 kB / 0.5792 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.5051, allocations: 319.5 kB / 0.5795 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.5052, allocations: 193.6 kB / 0.5797 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.5053, allocations: 176.3 kB / 0.5799 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.5054, allocations: 116.8 kB / 0.58 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.5055, allocations: 184.3 kB / 0.5802 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.5055, allocations: 105 kB / 0.5803 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.5056, allocations: 138.1 kB / 0.5804 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5056, allocations: 0 / 0.5804 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.5058, allocations: 23.94 kB / 0.5804 GB, free: 0.5117 MB / 378.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 9.161e-05/0.5059, allocations: 170.5 kB / 0.5806 GB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.987e-05/0.506, allocations: 7.438 kB / 0.5806 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.506, allocations: 0 / 0.5806 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.506, allocations: 0.8281 kB / 0.5806 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.5066, allocations: 0.5958 MB / 0.5812 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.5069, allocations: 211.7 kB / 0.5814 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.5072, allocations: 0.7201 MB / 0.5821 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.5072, allocations: 17.19 kB / 0.5821 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.5072, allocations: 11.44 kB / 0.5821 GB, free: 14.75 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5072, allocations: 0 / 0.5821 GB, free: 14.75 MB / 394.7 MB Notification: Performance of Templates: time 0.003813/0.5111, allocations: 1.802 MB / 0.5839 GB, free: 13 MB / 394.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)