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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 174.5 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.442/1.442, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.001053/0.001053, allocations: 96 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.591/0.591, allocations: 37.07 MB / 373.6 MB, free: 45.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.134e-05, allocations: 4 kB / 441.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 60.08 MB / 0.4899 GB, free: 3.188 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/0.6552, allocations: 91.07 MB / 0.5789 GB, free: 1.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.6556, allocations: 66.12 kB / 0.5789 GB, free: 1.492 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.008348/0.664, allocations: 3.229 MB / 0.5821 GB, free: 14.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.664, allocations: 0 / 0.5821 GB, free: 14.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.664, allocations: 4 kB / 0.5821 GB, free: 14.3 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.0005103/0.6646, allocations: 408.6 kB / 0.5825 GB, free: 13.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.6646, allocations: 8.031 kB / 0.5825 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.6647, allocations: 38.55 kB / 0.5825 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.6648, allocations: 19.75 kB / 0.5825 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.6652, allocations: 264 kB / 0.5828 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6652, allocations: 8 kB / 0.5828 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.6653, allocations: 8 kB / 0.5828 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.6654, allocations: 56.36 kB / 0.5829 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6654, allocations: 0 / 0.5829 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.6655, allocations: 8 kB / 0.5829 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6655, allocations: 0 / 0.5829 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.483e-05/0.6656, allocations: 20 kB / 0.5829 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.6662, allocations: 499 kB / 0.5834 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.6663, allocations: 173.1 kB / 0.5835 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.6664, allocations: 80.14 kB / 0.5836 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.6664, allocations: 75.28 kB / 0.5837 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.6665, allocations: 117.7 kB / 0.5838 GB, free: 12.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6665, allocations: 0 / 0.5838 GB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.774e-05/0.6666, allocations: 45.5 kB / 0.5838 GB, free: 12.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.6667, allocations: 126.7 kB / 0.584 GB, free: 12.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.6669, allocations: 201.1 kB / 0.5842 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.6669, allocations: 25.7 kB / 0.5842 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.667, allocations: 132 kB / 0.5843 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.667, allocations: 4 kB / 0.5843 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.6671, allocations: 2.359 kB / 0.5843 GB, free: 11.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6672, allocations: 330.8 kB / 0.5846 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.6672, allocations: 0 / 0.5846 GB, free: 11.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-06/0.6672, allocations: 4 kB / 0.5846 GB, free: 11.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/0.6673, allocations: 0 / 0.5846 GB, free: 11.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6673, allocations: 0 / 0.5846 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001232/0.6674, allocations: 57.45 kB / 0.5847 GB, free: 11.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6674, allocations: 12.08 kB / 0.5847 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6675, allocations: 3.953 kB / 0.5847 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.6675, allocations: 0 / 0.5847 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.6676, allocations: 4 kB / 0.5847 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6676, allocations: 0.5469 kB / 0.5847 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.6676, allocations: 0 / 0.5847 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.6676, allocations: 0 / 0.5847 GB, free: 11.42 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.0001469/0.6678, allocations: 176.3 kB / 0.5849 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.6679, allocations: 120.7 kB / 0.585 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.668, allocations: 125.8 kB / 0.5851 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.102e-05/0.668, allocations: 180.2 kB / 0.5853 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.367e-05/0.6681, allocations: 180.2 kB / 0.5854 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.021e-05/0.6682, allocations: 188.2 kB / 0.5856 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.6685, allocations: 449.5 kB / 0.5861 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/0.6686, allocations: 109 kB / 0.5862 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.6686, allocations: 101 kB / 0.5863 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.677e-05/0.6687, allocations: 180.2 kB / 0.5864 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.6688, allocations: 188.2 kB / 0.5866 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-05/0.6689, allocations: 184.2 kB / 0.5868 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-05/0.669, allocations: 180.2 kB / 0.587 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.6692, allocations: 323.6 kB / 0.5873 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.6693, allocations: 193.9 kB / 0.5874 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.6694, allocations: 180.2 kB / 0.5876 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.6695, allocations: 102.4 kB / 0.5877 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.6696, allocations: 193.3 kB / 0.5879 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.6697, allocations: 112.9 kB / 0.588 GB, free: 7.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.6699, allocations: 157.4 kB / 0.5882 GB, free: 7.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6699, allocations: 0 / 0.5882 GB, free: 7.664 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.6701, allocations: 20 kB / 0.5882 GB, free: 7.645 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.0004929/0.6706, allocations: 0.8125 MB / 0.589 GB, free: 6.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.7e-05/0.6707, allocations: 15.88 kB / 0.589 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6707, allocations: 0 / 0.589 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.6707, allocations: 0 / 0.589 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.6715, allocations: 0.6036 MB / 0.5896 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.6721, allocations: 267.1 kB / 0.5898 GB, free: 5.887 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.6725, allocations: 0.7166 MB / 0.5905 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.6725, allocations: 15.75 kB / 0.5905 GB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.6726, allocations: 43.42 kB / 0.5906 GB, free: 5.09 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6726, allocations: 0 / 0.5906 GB, free: 5.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.691, allocations: 3.855 MB / 0.5944 GB, free: 1.398 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.6912, allocations: 147.5 kB / 0.5945 GB, free: 1.172 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.363, allocations: 1.875 kB / 0.5945 GB, free: 1.172 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)