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.009041/0.009041, allocations: 171.5 kB / 15.12 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.45/1.45, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 94.61 kB / 290.2 MB, free: 4.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2801/0.2801, allocations: 37.08 MB / 378.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000565/0.0005651, allocations: 8 kB / 449.1 MB, free: 79.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1524, allocations: 60.09 MB / 0.4972 GB, free: 19.81 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/0.6419, allocations: 91.13 MB / 0.5862 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.6422, allocations: 71.34 kB / 0.5863 GB, free: 10.43 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 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.006977/0.6492, allocations: 3.224 MB / 0.5894 GB, free: 7.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6492, allocations: 0 / 0.5894 GB, free: 7.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.6492, allocations: 7.906 kB / 0.5894 GB, free: 7.898 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.0004576/0.6497, allocations: 431 kB / 0.5898 GB, free: 7.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6498, allocations: 12.02 kB / 0.5899 GB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.6498, allocations: 37.94 kB / 0.5899 GB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.6499, allocations: 23.72 kB / 0.5899 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.6502, allocations: 267.1 kB / 0.5902 GB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6502, allocations: 7 kB / 0.5902 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.6502, allocations: 4 kB / 0.5902 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.6503, allocations: 56.83 kB / 0.5902 GB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6504, allocations: 4 kB / 0.5902 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6504, allocations: 3.938 kB / 0.5902 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6504, allocations: 0 / 0.5902 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.6505, allocations: 23.73 kB / 0.5903 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.6509, allocations: 0.4961 MB / 0.5907 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.651, allocations: 173.1 kB / 0.5909 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.651, allocations: 75.28 kB / 0.591 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.651, allocations: 109.8 kB / 0.5911 GB, free: 6.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.6511, allocations: 0 / 0.5911 GB, free: 6.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.816e-05/0.6511, allocations: 49.45 kB / 0.5911 GB, free: 6.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.6512, allocations: 130.1 kB / 0.5913 GB, free: 5.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.6514, allocations: 203.8 kB / 0.5915 GB, free: 5.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.443e-06/0.6514, allocations: 25.7 kB / 0.5915 GB, free: 5.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.6515, allocations: 131.8 kB / 0.5916 GB, free: 5.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.6515, allocations: 0 / 0.5916 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.6515, allocations: 112 / 0.5916 GB, free: 5.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.6516, allocations: 334.2 kB / 0.5919 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.6516, allocations: 4 kB / 0.5919 GB, free: 5.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-06/0.6516, allocations: 2.688 kB / 0.5919 GB, free: 5.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.6516, allocations: 4 kB / 0.5919 GB, free: 5.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6516, allocations: 0 / 0.5919 GB, free: 5.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.6517, allocations: 48.83 kB / 0.592 GB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6518, allocations: 4 kB / 0.592 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6518, allocations: 7.969 kB / 0.592 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.6518, allocations: 8.047 kB / 0.592 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.6519, allocations: 4 kB / 0.592 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6519, allocations: 0 / 0.592 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.6519, allocations: 3.906 kB / 0.592 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6519, allocations: 0 / 0.592 GB, free: 5.211 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 () * 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 8.147e-05/0.652, allocations: 200.8 kB / 0.5922 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.6521, allocations: 120.8 kB / 0.5923 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.6521, allocations: 117.2 kB / 0.5924 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.6522, allocations: 192.2 kB / 0.5926 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-05/0.6522, allocations: 183.8 kB / 0.5928 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/0.6522, allocations: 184.2 kB / 0.593 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.6524, allocations: 447 kB / 0.5934 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.6525, allocations: 101 kB / 0.5935 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.6525, allocations: 112.9 kB / 0.5936 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.023e-05/0.6525, allocations: 176.3 kB / 0.5938 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.6526, allocations: 184.2 kB / 0.5939 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-05/0.6526, allocations: 176.3 kB / 0.5941 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.181e-05/0.6526, allocations: 183.5 kB / 0.5943 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.532e-05/0.6527, allocations: 319.5 kB / 0.5946 GB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.6528, allocations: 205.1 kB / 0.5948 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.6529, allocations: 180.3 kB / 0.5949 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.653, allocations: 101 kB / 0.595 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.653, allocations: 187.7 kB / 0.5952 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.6531, allocations: 113 kB / 0.5953 GB, free: 1.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.6532, allocations: 168.1 kB / 0.5955 GB, free: 1.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6532, allocations: 0 / 0.5955 GB, free: 1.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.6534, allocations: 20 kB / 0.5955 GB, free: 1.473 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 () * 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.0002871/0.6537, allocations: 0.8161 MB / 0.5963 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.502e-05/0.6538, allocations: 7.938 kB / 0.5963 GB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6538, allocations: 0 / 0.5963 GB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.6538, allocations: 0 / 0.5963 GB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.6544, allocations: 0.6043 MB / 0.5969 GB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.6557, allocations: 0.8802 MB / 0.5978 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.656, allocations: 0.7166 MB / 0.5985 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.271e-05/0.6561, allocations: 17.53 kB / 0.5985 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.6562, allocations: 43.48 kB / 0.5985 GB, free: 14.39 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6562, allocations: 0 / 0.5985 GB, free: 14.39 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.6736, allocations: 3.945 MB / 0.6024 GB, free: 10.62 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.6739, allocations: 170.8 kB / 0.6025 GB, free: 10.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.38, allocations: 3.938 kB / 0.6025 GB, free: 10.37 MB / 394.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)