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.008498/0.008498, allocations: 171.9 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.634/1.634, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009432/0.000943, allocations: 93.67 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.2649/0.2649, allocations: 37.09 MB / 378.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 12 kB / 449 MB, free: 61.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 60.07 MB / 0.4971 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4401/0.572, allocations: 91.17 MB / 0.5861 GB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5724, allocations: 75.09 kB / 0.5862 GB, free: 11.61 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.007824/0.5802, allocations: 3.232 MB / 0.5894 GB, free: 8.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5802, allocations: 0 / 0.5894 GB, free: 8.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.5802, allocations: 0 / 0.5894 GB, free: 8.906 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.0004778/0.5807, allocations: 433.6 kB / 0.5898 GB, free: 8.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5808, allocations: 16.02 kB / 0.5898 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.5808, allocations: 22.67 kB / 0.5898 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.5812, allocations: 266.5 kB / 0.5901 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5812, allocations: 0 / 0.5901 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5812, allocations: 4 kB / 0.5901 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.5813, allocations: 57.17 kB / 0.5901 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5814, allocations: 0 / 0.5901 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5814, allocations: 7.125 kB / 0.5901 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5814, allocations: 7.938 kB / 0.5901 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.5815, allocations: 22.61 kB / 0.5902 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.582, allocations: 495.4 kB / 0.5906 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.243e-05/0.5821, allocations: 174.3 kB / 0.5908 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.5822, allocations: 83.25 kB / 0.5909 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.5822, allocations: 109.8 kB / 0.591 GB, free: 7.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.5822, allocations: 0 / 0.591 GB, free: 7.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.187e-05/0.5823, allocations: 52.28 kB / 0.591 GB, free: 7.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.5824, allocations: 126.7 kB / 0.5912 GB, free: 6.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.5826, allocations: 199.1 kB / 0.5914 GB, free: 6.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.5826, allocations: 29.7 kB / 0.5914 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.5827, allocations: 135.1 kB / 0.5915 GB, free: 6.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.5827, allocations: 0 / 0.5915 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.5827, allocations: 0 / 0.5915 GB, free: 6.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5829, allocations: 326 kB / 0.5918 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.5829, allocations: 4 kB / 0.5918 GB, free: 6.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.5829, allocations: 0 / 0.5918 GB, free: 6.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.5829, allocations: 3.422 kB / 0.5918 GB, free: 6.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.583, allocations: 12 kB / 0.5918 GB, free: 6.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.5831, allocations: 53.44 kB / 0.5919 GB, free: 6.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5831, allocations: 4 kB / 0.5919 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.5831, allocations: 0 / 0.5919 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5831, allocations: 0 / 0.5919 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.641e-05/0.5832, allocations: 7.953 kB / 0.5919 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5832, allocations: 0 / 0.5919 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.5832, allocations: 0 / 0.5919 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.5832, allocations: 0 / 0.5919 GB, free: 6.262 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.0001191/0.5834, allocations: 200.4 kB / 0.5921 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.5834, allocations: 127.8 kB / 0.5922 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.5835, allocations: 121.6 kB / 0.5923 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-05/0.5836, allocations: 180.2 kB / 0.5925 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.895e-05/0.5837, allocations: 192.2 kB / 0.5927 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.03e-05/0.5837, allocations: 176.3 kB / 0.5929 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.584, allocations: 451.7 kB / 0.5933 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.5841, allocations: 104.9 kB / 0.5934 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.5841, allocations: 101 kB / 0.5935 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.914e-05/0.5842, allocations: 188.2 kB / 0.5937 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.5843, allocations: 179.1 kB / 0.5938 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.134e-05/0.5843, allocations: 184.2 kB / 0.594 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.405e-05/0.5844, allocations: 176.3 kB / 0.5942 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.5846, allocations: 327.3 kB / 0.5945 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.5847, allocations: 193.3 kB / 0.5947 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.5848, allocations: 188.1 kB / 0.5949 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5849, allocations: 109 kB / 0.595 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.585, allocations: 180.3 kB / 0.5951 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.585, allocations: 104.9 kB / 0.5952 GB, free: 2.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.5852, allocations: 168.2 kB / 0.5954 GB, free: 2.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5852, allocations: 0 / 0.5954 GB, free: 2.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.5854, allocations: 23.95 kB / 0.5954 GB, free: 2.52 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.0001074/0.5855, allocations: 166.5 kB / 0.5956 GB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.325e-05/0.5856, allocations: 4 kB / 0.5956 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5856, allocations: 0 / 0.5956 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5856, allocations: 0 / 0.5956 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.5863, allocations: 0.6147 MB / 0.5962 GB, free: 1.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.5868, allocations: 362.5 kB / 0.5965 GB, free: 1.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5872, allocations: 0.7166 MB / 0.5972 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.557e-05/0.5872, allocations: 17.53 kB / 0.5972 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.5873, allocations: 15.44 kB / 0.5972 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5873, allocations: 0 / 0.5972 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of Templates: time 0.004882/0.5922, allocations: 2.262 MB / 0.5995 GB, free: 14.41 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)