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.006883/0.006883, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.421/1.421, allocations: 223.2 MB / 239 MB, free: 1.781 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.001016/0.001016, allocations: 95.19 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2633/0.2633, allocations: 37.07 MB / 378.4 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004334, allocations: 8 kB / 449 MB, free: 61.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1391, allocations: 60.08 MB / 0.4971 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5909, allocations: 91.16 MB / 0.5861 GB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5912, allocations: 67.22 kB / 0.5862 GB, free: 11.62 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.007674/0.5989, allocations: 3.231 MB / 0.5894 GB, free: 8.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5989, allocations: 3.938 kB / 0.5894 GB, free: 8.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.5989, allocations: 4 kB / 0.5894 GB, free: 8.914 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.0004979/0.5995, allocations: 437.9 kB / 0.5898 GB, free: 8.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5995, allocations: 8.031 kB / 0.5898 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.5996, allocations: 22.67 kB / 0.5898 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.5999, allocations: 263.7 kB / 0.5901 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5999, allocations: 6.938 kB / 0.5901 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.6, allocations: 0 / 0.5901 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.6001, allocations: 59.56 kB / 0.5901 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6001, allocations: 0 / 0.5901 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.6001, allocations: 3.438 kB / 0.5901 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6001, allocations: 0 / 0.5901 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.6002, allocations: 26.67 kB / 0.5902 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.6007, allocations: 497.9 kB / 0.5906 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.6008, allocations: 173.6 kB / 0.5908 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.6009, allocations: 79.28 kB / 0.5909 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.6009, allocations: 105.8 kB / 0.591 GB, free: 7.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.6009, allocations: 0 / 0.591 GB, free: 7.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.804e-05/0.601, allocations: 49.41 kB / 0.591 GB, free: 7.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.6011, allocations: 126.7 kB / 0.5911 GB, free: 7.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.6013, allocations: 207.8 kB / 0.5913 GB, free: 6.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6013, allocations: 25.7 kB / 0.5914 GB, free: 6.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.6014, allocations: 135.8 kB / 0.5915 GB, free: 6.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.6014, allocations: 3.938 kB / 0.5915 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.6014, allocations: 0 / 0.5915 GB, free: 6.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6016, allocations: 329.4 kB / 0.5918 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.6016, allocations: 0 / 0.5918 GB, free: 6.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.6016, allocations: 4 kB / 0.5918 GB, free: 6.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.6017, allocations: 3.422 kB / 0.5918 GB, free: 6.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6017, allocations: 3.938 kB / 0.5918 GB, free: 6.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001075/0.6018, allocations: 53.52 kB / 0.5919 GB, free: 6.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6018, allocations: 8 kB / 0.5919 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6018, allocations: 0 / 0.5919 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6018, allocations: 0 / 0.5919 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.6019, allocations: 7.203 kB / 0.5919 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.6019, allocations: 3.984 kB / 0.5919 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.6019, allocations: 4 kB / 0.5919 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.602, allocations: 0 / 0.5919 GB, free: 6.273 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 () * 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 0.0001265/0.6021, allocations: 194.8 kB / 0.5921 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.6022, allocations: 124.7 kB / 0.5922 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/0.6022, allocations: 127.7 kB / 0.5923 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.008e-05/0.6023, allocations: 176.3 kB / 0.5925 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-05/0.6024, allocations: 184.2 kB / 0.5927 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.7e-05/0.6025, allocations: 176.3 kB / 0.5928 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.6027, allocations: 455.3 kB / 0.5933 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-05/0.6028, allocations: 108.9 kB / 0.5934 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.6028, allocations: 101 kB / 0.5935 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.6029, allocations: 184.2 kB / 0.5936 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/0.603, allocations: 179.3 kB / 0.5938 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/0.6031, allocations: 184.2 kB / 0.594 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.354e-05/0.6032, allocations: 184.2 kB / 0.5942 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.6033, allocations: 322.5 kB / 0.5945 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6034, allocations: 196.8 kB / 0.5947 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.6035, allocations: 180.3 kB / 0.5948 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6036, allocations: 108.9 kB / 0.5949 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.6037, allocations: 180.3 kB / 0.5951 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.6038, allocations: 112 kB / 0.5952 GB, free: 2.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.6039, allocations: 165.7 kB / 0.5954 GB, free: 2.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6039, allocations: 0 / 0.5954 GB, free: 2.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.6041, allocations: 19.95 kB / 0.5954 GB, free: 2.539 MB / 394.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 0.0001123/0.6043, allocations: 170.5 kB / 0.5956 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.384e-05/0.6043, allocations: 11.42 kB / 0.5956 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6043, allocations: 0 / 0.5956 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.6044, allocations: 0 / 0.5956 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.605, allocations: 0.6062 MB / 0.5962 GB, free: 1.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.6055, allocations: 359.3 kB / 0.5965 GB, free: 1.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.6058, allocations: 0.7205 MB / 0.5972 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.46e-05/0.6059, allocations: 17.53 kB / 0.5972 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.6059, allocations: 11.44 kB / 0.5972 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.6059, allocations: 0 / 0.5972 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of Templates: time 0.004649/0.6106, allocations: 2.264 MB / 0.5994 GB, free: 14.42 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)