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.001331/0.001331, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008617/0.0008618, allocations: 93.73 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2346/0.2346, allocations: 37.07 MB / 368.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.609e-05, allocations: 3.938 kB / 434.7 MB, free: 23.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 60.1 MB / 494.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.5795, allocations: 90.4 MB / 0.5715 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5798, allocations: 70.97 kB / 0.5716 GB, free: 8.934 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.007795/0.5876, allocations: 3.202 MB / 0.5747 GB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5876, allocations: 0 / 0.5747 GB, free: 6.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.5877, allocations: 4 kB / 0.5747 GB, free: 6.32 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.0004613/0.5881, allocations: 405.8 kB / 0.5751 GB, free: 5.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5882, allocations: 8.031 kB / 0.5751 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.5883, allocations: 15.81 kB / 0.5751 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.5886, allocations: 268.2 kB / 0.5754 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5886, allocations: 0 / 0.5754 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.5887, allocations: 4 kB / 0.5754 GB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.178e-05/0.5887, allocations: 15.25 kB / 0.5754 GB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.5889, allocations: 52.75 kB / 0.5754 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5889, allocations: 6.734 kB / 0.5754 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5889, allocations: 0 / 0.5754 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5889, allocations: 0 / 0.5754 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.5895, allocations: 460.3 kB / 0.5759 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.5896, allocations: 181.1 kB / 0.5761 GB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.5896, allocations: 80.14 kB / 0.5761 GB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.5897, allocations: 75.28 kB / 0.5762 GB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.5897, allocations: 109.4 kB / 0.5763 GB, free: 4.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.5897, allocations: 0 / 0.5763 GB, free: 4.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.649e-05/0.5898, allocations: 45.47 kB / 0.5764 GB, free: 4.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.5899, allocations: 55.41 kB / 0.5764 GB, free: 4.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.5901, allocations: 175.1 kB / 0.5766 GB, free: 4.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.5901, allocations: 25.7 kB / 0.5766 GB, free: 4.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.5902, allocations: 133.2 kB / 0.5767 GB, free: 4.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.5902, allocations: 0 / 0.5767 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.5902, allocations: 0 / 0.5767 GB, free: 4.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5903, allocations: 326.1 kB / 0.577 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.5903, allocations: 3.938 kB / 0.577 GB, free: 3.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.5904, allocations: 4 kB / 0.577 GB, free: 3.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.751e-05/0.5904, allocations: 7.688 kB / 0.577 GB, free: 3.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5904, allocations: 0 / 0.577 GB, free: 3.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001109/0.5905, allocations: 41.72 kB / 0.5771 GB, free: 3.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5905, allocations: 7.938 kB / 0.5771 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.5905, allocations: 3.984 kB / 0.5771 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.5906, allocations: 4 kB / 0.5771 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.5906, allocations: 0 / 0.5771 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5906, allocations: 3.953 kB / 0.5771 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.5907, allocations: 3.906 kB / 0.5771 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.5907, allocations: 4.031 kB / 0.5771 GB, free: 3.781 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 () * 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 9.668e-05/0.5908, allocations: 180.3 kB / 0.5773 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001035/0.5909, allocations: 146.7 kB / 0.5774 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.591, allocations: 116.2 kB / 0.5775 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.5911, allocations: 125.8 kB / 0.5777 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.367e-05/0.5911, allocations: 180.2 kB / 0.5778 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.468e-05/0.5912, allocations: 184.2 kB / 0.578 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.66e-05/0.5913, allocations: 184.2 kB / 0.5782 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.5916, allocations: 419.9 kB / 0.5786 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.5916, allocations: 105 kB / 0.5787 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.5917, allocations: 104.9 kB / 0.5788 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.5918, allocations: 187.9 kB / 0.579 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.5918, allocations: 176.3 kB / 0.5791 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.405e-05/0.5919, allocations: 180.2 kB / 0.5793 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.221e-05/0.592, allocations: 184.2 kB / 0.5795 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.5922, allocations: 326.9 kB / 0.5798 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5923, allocations: 189.9 kB / 0.58 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.5924, allocations: 184.2 kB / 0.5801 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5925, allocations: 104.9 kB / 0.5802 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.5926, allocations: 177.1 kB / 0.5804 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.5926, allocations: 108.7 kB / 0.5805 GB, free: 100 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.5928, allocations: 139.2 kB / 0.5806 GB, free: 15.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5928, allocations: 4 kB / 0.5807 GB, free: 15.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.593, allocations: 23.94 kB / 0.5807 GB, free: 15.95 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 () * 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.0003793/0.5934, allocations: 0.8082 MB / 0.5815 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.728e-05/0.5935, allocations: 11.55 kB / 0.5815 GB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5935, allocations: 4.062 kB / 0.5815 GB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.5935, allocations: 4 kB / 0.5815 GB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.5941, allocations: 0.5874 MB / 0.5821 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.5946, allocations: 260.7 kB / 0.5823 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5949, allocations: 0.7201 MB / 0.583 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.595, allocations: 9.203 kB / 0.583 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.595, allocations: 44.67 kB / 0.5831 GB, free: 13.47 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.595, allocations: 0 / 0.5831 GB, free: 13.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.6197, allocations: 3.006 MB / 0.586 GB, free: 10.52 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.62, allocations: 125.1 kB / 0.5861 GB, free: 10.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.203, allocations: 0 / 0.5861 GB, free: 10.33 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)