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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",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.009415/0.009414, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.473/1.473, allocations: 223.2 MB / 239 MB, free: 64 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.001078/0.001077, allocations: 92.72 kB / 290.2 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3025/0.3025, allocations: 37.07 MB / 378.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.000424, allocations: 12.75 kB / 449.1 MB, free: 79.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 60.08 MB / 0.4972 GB, free: 19.79 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5031/0.6408, allocations: 91.14 MB / 0.5862 GB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.6411, allocations: 73.88 kB / 0.5863 GB, free: 10.38 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.007085/0.6482, allocations: 3.223 MB / 0.5894 GB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6483, allocations: 0 / 0.5894 GB, free: 7.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.6483, allocations: 4 kB / 0.5894 GB, free: 7.84 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.0004135/0.6487, allocations: 436.7 kB / 0.5898 GB, free: 7.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6488, allocations: 12.02 kB / 0.5899 GB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.6488, allocations: 37.69 kB / 0.5899 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.6489, allocations: 19.72 kB / 0.5899 GB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.6492, allocations: 273.9 kB / 0.5902 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.6492, allocations: 0 / 0.5902 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.6492, allocations: 7.375 kB / 0.5902 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.6493, allocations: 53.47 kB / 0.5902 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6493, allocations: 0 / 0.5902 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.6494, allocations: 0 / 0.5902 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6494, allocations: 8 kB / 0.5902 GB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.6494, allocations: 22.86 kB / 0.5903 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.6499, allocations: 0.4888 MB / 0.5907 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.564e-05/0.65, allocations: 173.1 kB / 0.5909 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.65, allocations: 79.27 kB / 0.591 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.6501, allocations: 113.2 kB / 0.5911 GB, free: 6.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.6501, allocations: 0 / 0.5911 GB, free: 6.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.223e-05/0.6502, allocations: 49.45 kB / 0.5911 GB, free: 6.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.6502, allocations: 126.7 kB / 0.5913 GB, free: 5.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.6504, allocations: 207.4 kB / 0.5915 GB, free: 5.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.6505, allocations: 25.7 kB / 0.5915 GB, free: 5.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.6505, allocations: 133.2 kB / 0.5916 GB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.6506, allocations: 0 / 0.5916 GB, free: 5.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.6506, allocations: 0 / 0.5916 GB, free: 5.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.6507, allocations: 326.3 kB / 0.5919 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.6507, allocations: 11.88 kB / 0.5919 GB, free: 5.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.6507, allocations: 3.188 kB / 0.5919 GB, free: 5.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.924e-05/0.6507, allocations: 0 / 0.5919 GB, free: 5.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6507, allocations: 4.062 kB / 0.5919 GB, free: 5.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001023/0.6508, allocations: 56.69 kB / 0.592 GB, free: 5.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6509, allocations: 4 kB / 0.592 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6509, allocations: 0 / 0.592 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.6509, allocations: 3.953 kB / 0.592 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/0.651, allocations: 4 kB / 0.592 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.651, allocations: 0 / 0.592 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.651, allocations: 3.906 kB / 0.592 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.651, allocations: 3.938 kB / 0.592 GB, free: 5.152 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.213e-05/0.6511, allocations: 199.3 kB / 0.5922 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.6512, allocations: 120.8 kB / 0.5923 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.6512, allocations: 119.7 kB / 0.5924 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.6512, allocations: 180.2 kB / 0.5926 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/0.6513, allocations: 188.2 kB / 0.5928 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.6513, allocations: 184.2 kB / 0.593 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.6515, allocations: 447.3 kB / 0.5934 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.6515, allocations: 101 kB / 0.5935 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.6516, allocations: 108.2 kB / 0.5936 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-05/0.6516, allocations: 180.3 kB / 0.5938 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.6517, allocations: 184.2 kB / 0.5939 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-05/0.6517, allocations: 184.3 kB / 0.5941 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-05/0.6518, allocations: 176.3 kB / 0.5943 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.755e-05/0.6518, allocations: 327.1 kB / 0.5946 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.6519, allocations: 197.5 kB / 0.5948 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.652, allocations: 180.3 kB / 0.5949 GB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.6521, allocations: 105 kB / 0.595 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.6521, allocations: 188.2 kB / 0.5952 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.6521, allocations: 101 kB / 0.5953 GB, free: 1.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.6522, allocations: 171.9 kB / 0.5955 GB, free: 1.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6523, allocations: 0 / 0.5955 GB, free: 1.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.6525, allocations: 20 kB / 0.5955 GB, free: 1.422 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.0002282/0.6527, allocations: 0.8118 MB / 0.5963 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.745e-05/0.6528, allocations: 7.75 kB / 0.5963 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6528, allocations: 3.938 kB / 0.5963 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.6528, allocations: 0 / 0.5963 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.6535, allocations: 0.612 MB / 0.5969 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.6549, allocations: 0.8798 MB / 0.5978 GB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.6553, allocations: 0.7127 MB / 0.5985 GB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.654e-05/0.6554, allocations: 21.53 kB / 0.5985 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.6555, allocations: 39.11 kB / 0.5985 GB, free: 14.34 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6555, allocations: 0 / 0.5985 GB, free: 14.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.6735, allocations: 3.95 MB / 0.6024 GB, free: 10.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.6737, allocations: 189.5 kB / 0.6026 GB, free: 10.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.342, allocations: 7.75 kB / 0.6026 GB, free: 10.33 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)