Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9114/0.9114, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 66.69 kB / 0.6331 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1776, allocations: 87.89 MB / 0.7189 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005364/0.183, allocations: 3.225 MB / 0.7221 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.1831, allocations: 59.86 kB / 0.7221 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.1832, allocations: 8 kB / 0.7221 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1833, allocations: 7.922 kB / 0.7222 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.1834, allocations: 3.938 kB / 0.7222 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.184, allocations: 187.3 kB / 0.7223 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.1841, allocations: 31.86 kB / 0.7224 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.1841, allocations: 15.98 kB / 0.7224 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.1842, allocations: 15.98 kB / 0.7224 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.1843, allocations: 19.91 kB / 0.7224 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1843, allocations: 3.938 kB / 0.7224 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.1846, allocations: 123.6 kB / 0.7225 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.1846, allocations: 4 kB / 0.7225 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1846, allocations: 15.92 kB / 0.7226 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1849, allocations: 119.7 kB / 0.7227 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1849, allocations: 0 / 0.7227 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.562e-06/0.1849, allocations: 0 / 0.7227 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1849, allocations: 4 kB / 0.7227 GB, free: 11.03 MB / 0.545 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.0004021/0.1853, allocations: 278.2 kB / 0.7229 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1854, allocations: 8.031 kB / 0.7229 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.1854, allocations: 34.69 kB / 0.723 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1854, allocations: 4.938 kB / 0.723 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.1855, allocations: 114.4 kB / 0.7231 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.1856, allocations: 55.97 kB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1856, allocations: 4.125 kB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1858, allocations: 71.38 kB / 0.7232 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1858, allocations: 0 / 0.7232 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1858, allocations: 4 kB / 0.7232 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.1858, allocations: 4 kB / 0.7232 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.1858, allocations: 15.92 kB / 0.7232 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1863, allocations: 256 kB / 0.7235 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.593e-05/0.1864, allocations: 22.58 kB / 0.7235 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.1864, allocations: 4.859 kB / 0.7235 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.1865, allocations: 32.03 kB / 0.7235 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1865, allocations: 34.56 kB / 0.7236 GB, free: 9.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1865, allocations: 4 kB / 0.7236 GB, free: 9.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.1867, allocations: 37.64 kB / 0.7236 GB, free: 9.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1867, allocations: 51.41 kB / 0.7237 GB, free: 9.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.1868, allocations: 105.8 kB / 0.7238 GB, free: 9.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1868, allocations: 25.7 kB / 0.7238 GB, free: 9.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1869, allocations: 84.09 kB / 0.7239 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.1869, allocations: 7.953 kB / 0.7239 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1869, allocations: 21.7 kB / 0.7239 GB, free: 9.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1871, allocations: 314.8 kB / 0.7242 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.1871, allocations: 0 / 0.7242 GB, free: 9.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.1871, allocations: 29.7 kB / 0.7242 GB, free: 9.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.1872, allocations: 21.78 kB / 0.7242 GB, free: 9.203 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1872, allocations: 0 / 0.7242 GB, free: 9.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.252e-05/0.1872, allocations: 49.69 kB / 0.7243 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1873, allocations: 4 kB / 0.7243 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1873, allocations: 3.938 kB / 0.7243 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1873, allocations: 0 / 0.7243 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.1873, allocations: 11.94 kB / 0.7243 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1873, allocations: 3.984 kB / 0.7243 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.1873, allocations: 4 kB / 0.7243 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1874, allocations: 4 kB / 0.7243 GB, free: 9.117 MB / 0.545 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 9.071e-05/0.1874, allocations: 121.8 kB / 0.7244 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1875, allocations: 0 / 0.7244 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1876, allocations: 117 kB / 0.7246 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.301e-05/0.1877, allocations: 188.5 kB / 0.7247 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.227e-05/0.1878, allocations: 184.2 kB / 0.7249 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.054e-05/0.1878, allocations: 184.2 kB / 0.7251 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1881, allocations: 376.2 kB / 0.7254 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.284e-05/0.1881, allocations: 113 kB / 0.7255 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.1882, allocations: 108.9 kB / 0.7257 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.1882, allocations: 176.3 kB / 0.7258 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/0.1883, allocations: 188.2 kB / 0.726 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.793e-05/0.1884, allocations: 176.3 kB / 0.7262 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.184e-05/0.1885, allocations: 184.2 kB / 0.7263 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1887, allocations: 307.8 kB / 0.7266 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1887, allocations: 104.9 kB / 0.7267 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.1888, allocations: 184.2 kB / 0.7269 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.189, allocations: 112.9 kB / 0.727 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.1891, allocations: 180.3 kB / 0.7272 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.1891, allocations: 105 kB / 0.7273 GB, free: 5.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.1892, allocations: 83.27 kB / 0.7274 GB, free: 5.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1892, allocations: 0 / 0.7274 GB, free: 5.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003018/0.1895, allocations: 39.81 kB / 0.7274 GB, free: 5.758 MB / 0.545 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.0006256/0.1901, allocations: 0.8691 MB / 0.7283 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.1902, allocations: 12 kB / 0.7283 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1902, allocations: 0 / 0.7283 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.1902, allocations: 3.938 kB / 0.7283 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.1907, allocations: 463.6 kB / 0.7287 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1918, allocations: 1.336 MB / 0.73 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.1919, allocations: 63.47 kB / 0.7301 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.1919, allocations: 4 kB / 0.7301 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.192, allocations: 11.44 kB / 0.7301 GB, free: 2.867 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.192, allocations: 0 / 0.7301 GB, free: 2.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.2215, allocations: 2.744 MB / 0.7328 GB, free: 324 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.37, allocations: 15 kB / 0.7328 GB, free: 316 kB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.307544047012925] Failed to read output from testmodel.py, exit status != 0: 11.476533215027303 11.506036751 11.315774282 Calling exit ...