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/Chemical 1.4.0/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/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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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/Chemical 1.4.0/package.mo): time 0.1285/0.1285, allocations: 15.29 MB / 30.41 MB, free: 4.387 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 108 kB / 35.38 MB, free: 3.453 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 201.1 kB / 40.47 MB, free: 7.539 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 268.3 MB, free: 7.617 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1727/0.1727, allocations: 23.35 MB / 346 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 112.2 kB / 417.6 MB, free: 30.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1374, allocations: 59.37 MB / 476.9 MB, free: 3.395 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.SkinHeatFlow): time 0.03334/0.1708, allocations: 20.87 MB / 497.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1718, allocations: 482.7 kB / 498.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.172, allocations: 7.938 kB / 498.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.1721, allocations: 7.922 kB / 498.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.1722, allocations: 39.64 kB / 498.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.365e-05/0.1723, allocations: 11.98 kB / 498.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1724, allocations: 107.3 kB / 498.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1726, allocations: 41 kB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.1726, allocations: 35.75 kB / 498.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.1727, allocations: 35.8 kB / 498.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1727, allocations: 4 kB / 498.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.1727, allocations: 4 kB / 498.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.1728, allocations: 11.92 kB / 498.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.1728, allocations: 43.75 kB / 498.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.173, allocations: 79.72 kB / 498.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.173, allocations: 0 / 498.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.173, allocations: 4 kB / 498.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.173, allocations: 0 / 498.7 MB, free: 13.75 MB / 366.1 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.0005226/0.1735, allocations: 414.9 kB / 499.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1736, allocations: 8.594 kB / 499.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.1736, allocations: 34.75 kB / 499.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1737, allocations: 12.84 kB / 499.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1739, allocations: 216 kB / 499.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1739, allocations: 8.312 kB / 499.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.174, allocations: 384 / 499.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1741, allocations: 77.67 kB / 499.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1741, allocations: 0 / 499.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1741, allocations: 0 / 499.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1741, allocations: 4 kB / 499.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.1742, allocations: 20 kB / 499.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.1748, allocations: 479.1 kB / 499.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.52e-05/0.1749, allocations: 169.1 kB / 0.4884 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.1749, allocations: 88.11 kB / 0.4885 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.175, allocations: 79.28 kB / 0.4885 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.175, allocations: 109.8 kB / 0.4886 GB, free: 11.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.175, allocations: 4 kB / 0.4887 GB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.089e-05/0.1751, allocations: 41.55 kB / 0.4887 GB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1752, allocations: 126.7 kB / 0.4888 GB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1754, allocations: 191.1 kB / 0.489 GB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1754, allocations: 25.7 kB / 0.489 GB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.1755, allocations: 112 kB / 0.4891 GB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/0.1755, allocations: 3.984 kB / 0.4891 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1755, allocations: 9.719 kB / 0.4891 GB, free: 11.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1757, allocations: 326.8 kB / 0.4895 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.1757, allocations: 3.938 kB / 0.4895 GB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.1757, allocations: 8 kB / 0.4895 GB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.1757, allocations: 4.859 kB / 0.4895 GB, free: 10.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1757, allocations: 0 / 0.4895 GB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001071/0.1759, allocations: 49.55 kB / 0.4895 GB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1759, allocations: 4 kB / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1759, allocations: 7.984 kB / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1759, allocations: 8.141 kB / 0.4895 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.176, allocations: 3.938 kB / 0.4895 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.176, allocations: 0 / 0.4895 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.176, allocations: 7.906 kB / 0.4895 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1761, allocations: 0 / 0.4895 GB, free: 10.91 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.1762, allocations: 193.1 kB / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.1762, allocations: 108.9 kB / 0.4898 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.511e-05/0.1763, allocations: 113.5 kB / 0.4899 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.027e-05/0.1764, allocations: 192.1 kB / 0.4901 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.729e-05/0.1765, allocations: 180.3 kB / 0.4903 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-05/0.1766, allocations: 180.2 kB / 0.4905 GB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1769, allocations: 437.2 kB / 0.4909 GB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/0.1769, allocations: 105 kB / 0.491 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1769, allocations: 108.9 kB / 0.4911 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.486e-05/0.177, allocations: 180.2 kB / 0.4913 GB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.1771, allocations: 184.2 kB / 0.4914 GB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.05e-05/0.1771, allocations: 184.2 kB / 0.4916 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.486e-05/0.1772, allocations: 180.2 kB / 0.4918 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.1774, allocations: 319.7 kB / 0.4921 GB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1775, allocations: 197.8 kB / 0.4923 GB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.1776, allocations: 176.3 kB / 0.4924 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.1777, allocations: 104.9 kB / 0.4925 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.1778, allocations: 184.2 kB / 0.4927 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.1778, allocations: 105 kB / 0.4928 GB, free: 7.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1779, allocations: 137.2 kB / 0.493 GB, free: 7.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1779, allocations: 4 kB / 0.493 GB, free: 7.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1782, allocations: 12 kB / 0.493 GB, free: 7.176 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004495/0.1786, allocations: 0.8203 MB / 0.4938 GB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.105e-05/0.1787, allocations: 0 / 0.4938 GB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1787, allocations: 0 / 0.4938 GB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.1787, allocations: 0 / 0.4938 GB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.1794, allocations: 0.5847 MB / 0.4943 GB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1809, allocations: 1.647 MB / 0.4959 GB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1812, allocations: 0.6963 MB / 0.4966 GB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.953e-05/0.1812, allocations: 12.64 kB / 0.4966 GB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.1813, allocations: 23.44 kB / 0.4967 GB, free: 3.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1813, allocations: 3.938 kB / 0.4967 GB, free: 3.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.2067, allocations: 2.82 MB / 0.4994 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.207, allocations: 196.1 kB / 0.4996 GB, free: 244 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.207, allocations: 0 / 0.4996 GB, free: 244 kB / 366.1 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/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)