Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 195 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.005/1.005, allocations: 143 MB / 433.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 55.91 kB / 0.5144 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1717, allocations: 82.04 MB / 0.5945 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005773/0.1775, allocations: 4.02 MB / 0.5985 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00023/0.1778, allocations: 151.5 kB / 0.5986 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.1778, allocations: 0 / 0.5986 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.178, allocations: 3.984 kB / 0.5986 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.834e-05/0.1781, allocations: 15.94 kB / 0.5986 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1785, allocations: 79.69 kB / 0.5987 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.1786, allocations: 39.83 kB / 0.5987 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1786, allocations: 4 kB / 0.5987 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.1787, allocations: 11.94 kB / 0.5987 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.1787, allocations: 11.97 kB / 0.5988 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1788, allocations: 4 kB / 0.5988 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.179, allocations: 63.81 kB / 0.5988 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.179, allocations: 11.92 kB / 0.5988 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1791, allocations: 11.98 kB / 0.5988 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1792, allocations: 40.14 kB / 0.5989 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1792, allocations: 0 / 0.5989 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1792, allocations: 0 / 0.5989 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1793, allocations: 0 / 0.5989 GB, free: 4.938 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004225/0.1797, allocations: 343.4 kB / 0.5992 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1797, allocations: 8.031 kB / 0.5992 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1798, allocations: 38.75 kB / 0.5993 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.1798, allocations: 0.9375 kB / 0.5993 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1799, allocations: 168.3 kB / 0.5994 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.18, allocations: 30.27 kB / 0.5994 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.18, allocations: 4.125 kB / 0.5995 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1802, allocations: 45.67 kB / 0.5995 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1802, allocations: 0 / 0.5995 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1802, allocations: 0 / 0.5995 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1802, allocations: 4 kB / 0.5995 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.1803, allocations: 15.98 kB / 0.5995 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.1807, allocations: 334 kB / 0.5998 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/0.1808, allocations: 22.52 kB / 0.5999 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.1808, allocations: 8.922 kB / 0.5999 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/0.1809, allocations: 81.11 kB / 0.5999 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.1809, allocations: 34.56 kB / 0.6 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.181, allocations: 0 / 0.6 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.1811, allocations: 41.59 kB / 0.6 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1812, allocations: 59.34 kB / 0.6001 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.1812, allocations: 93.86 kB / 0.6002 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1813, allocations: 33.69 kB / 0.6002 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.1813, allocations: 88.08 kB / 0.6003 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.1813, allocations: 3.906 kB / 0.6003 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.1814, allocations: 17.84 kB / 0.6003 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1815, allocations: 322.7 kB / 0.6006 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.1815, allocations: 7.984 kB / 0.6006 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.1815, allocations: 13.72 kB / 0.6006 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.1816, allocations: 21.72 kB / 0.6006 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1816, allocations: 0 / 0.6006 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.414e-05/0.1817, allocations: 53.62 kB / 0.6007 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1817, allocations: 4 kB / 0.6007 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1817, allocations: 0 / 0.6007 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1817, allocations: 4 kB / 0.6007 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.833e-05/0.1818, allocations: 7.984 kB / 0.6007 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1818, allocations: 0 / 0.6007 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.1818, allocations: 0 / 0.6007 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1818, allocations: 7.938 kB / 0.6007 GB, free: 2.773 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.498e-05/0.1819, allocations: 113.8 kB / 0.6008 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.182, allocations: 11.91 kB / 0.6008 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.1821, allocations: 117 kB / 0.601 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.53e-05/0.1822, allocations: 188.2 kB / 0.6011 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.019e-05/0.1822, allocations: 176.3 kB / 0.6013 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/0.1823, allocations: 176.3 kB / 0.6015 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1825, allocations: 417.1 kB / 0.6019 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.1825, allocations: 101 kB / 0.602 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1826, allocations: 104.9 kB / 0.6021 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-05/0.1827, allocations: 188.2 kB / 0.6022 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/0.1827, allocations: 176.3 kB / 0.6024 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.494e-05/0.1828, allocations: 184.2 kB / 0.6026 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-05/0.1828, allocations: 180.5 kB / 0.6028 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.183, allocations: 307.7 kB / 0.603 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.1831, allocations: 190.1 kB / 0.6032 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3105/0.4936, allocations: 177.7 kB / 0.6034 GB, free: 44.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4938, allocations: 108.5 kB / 0.6035 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.4938, allocations: 184 kB / 0.6037 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4938, allocations: 109.2 kB / 0.6038 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.4939, allocations: 83.7 kB / 0.6039 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4939, allocations: 0.6562 kB / 0.6039 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00034/0.4943, allocations: 17.66 kB / 0.6039 GB, free: 44.21 MB / 0.4981 GB 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.0004318/0.4947, allocations: 0.8334 MB / 0.6047 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.4948, allocations: 13.08 kB / 0.6047 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4948, allocations: 0.5312 kB / 0.6047 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.4948, allocations: 1.844 kB / 0.6047 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4952, allocations: 460.5 kB / 0.6051 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.496, allocations: 1.319 MB / 0.6064 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.4961, allocations: 0.6801 MB / 0.6071 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.4962, allocations: 6.312 kB / 0.6071 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.4962, allocations: 14.06 kB / 0.6071 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.4962, allocations: 0 / 0.6071 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.5127, allocations: 1.536 MB / 0.6086 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/8.063, allocations: 1.766 kB / 0.6086 GB, free: 40.71 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)