Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001003, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008631/0.008631, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.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.128/1.128, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 8 kB / 0.5164 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 83.4 MB / 0.5978 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5028/0.6914, allocations: 131.6 MB / 0.7263 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000167/0.6916, allocations: 52.89 kB / 0.7264 GB, free: 436 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.6916, allocations: 5.062 kB / 0.7264 GB, free: 432 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.6917, allocations: 5.109 kB / 0.7264 GB, free: 428 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.6918, allocations: 14.08 kB / 0.7264 GB, free: 424 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009053/0.6928, allocations: 224.8 kB / 0.7266 GB, free: 316 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.6929, allocations: 57.53 kB / 0.7267 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.6929, allocations: 10.08 kB / 0.7267 GB, free: 292 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.693, allocations: 15.09 kB / 0.7267 GB, free: 288 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.6931, allocations: 10.42 kB / 0.7267 GB, free: 288 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.6931, allocations: 1.125 kB / 0.7267 GB, free: 288 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.6937, allocations: 247.1 kB / 0.7269 GB, free: 192 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.6938, allocations: 10.02 kB / 0.7269 GB, free: 188 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.6938, allocations: 40.05 kB / 0.727 GB, free: 148 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.6943, allocations: 194.2 kB / 0.7272 GB, free: 96 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6943, allocations: 4 kB / 0.7272 GB, free: 92 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6943, allocations: 0 / 0.7272 GB, free: 92 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.6944, allocations: 0 / 0.7272 GB, free: 92 kB / 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.0004361/0.6948, allocations: 345.5 kB / 0.7275 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6948, allocations: 9.375 kB / 0.7275 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.6949, allocations: 5.156 kB / 0.7275 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.695, allocations: 163.3 kB / 0.7277 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.6951, allocations: 28.23 kB / 0.7277 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.6951, allocations: 17.23 kB / 0.7277 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.6953, allocations: 43.98 kB / 0.7278 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6953, allocations: 0 / 0.7278 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6953, allocations: 0 / 0.7278 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.6953, allocations: 1.719 kB / 0.7278 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.6954, allocations: 21.55 kB / 0.7278 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/0.6962, allocations: 0.6003 MB / 0.7284 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.6963, allocations: 16.73 kB / 0.7284 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.6963, allocations: 15.14 kB / 0.7284 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.6965, allocations: 334.4 kB / 0.7287 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.6965, allocations: 35.11 kB / 0.7287 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.6965, allocations: 3.594 kB / 0.7288 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000156/0.6967, allocations: 36.16 kB / 0.7288 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.6967, allocations: 53.34 kB / 0.7288 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.6968, allocations: 103 kB / 0.7289 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6969, allocations: 26.86 kB / 0.729 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.6969, allocations: 90.11 kB / 0.729 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.6969, allocations: 7.844 kB / 0.7291 GB, free: 14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.697, allocations: 10.75 kB / 0.7291 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6971, allocations: 317.6 kB / 0.7294 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.6971, allocations: 7.344 kB / 0.7294 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.6971, allocations: 23.48 kB / 0.7294 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.6972, allocations: 16.98 kB / 0.7294 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6972, allocations: 0 / 0.7294 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.62e-05/0.6973, allocations: 50.27 kB / 0.7295 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6973, allocations: 5.578 kB / 0.7295 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6973, allocations: 1.406 kB / 0.7295 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6973, allocations: 5.031 kB / 0.7295 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.976e-05/0.6974, allocations: 6.844 kB / 0.7295 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.6974, allocations: 0 / 0.7295 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.6974, allocations: 1.781 kB / 0.7295 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.6974, allocations: 7.469 kB / 0.7295 GB, free: 13.57 MB / 0.5606 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.98e-05/0.6975, allocations: 111.8 kB / 0.7296 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.6976, allocations: 2.484 kB / 0.7296 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.6977, allocations: 123.1 kB / 0.7297 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.252e-05/0.6978, allocations: 182.4 kB / 0.7299 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/0.6978, allocations: 182.1 kB / 0.7301 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-05/0.6979, allocations: 178.4 kB / 0.7302 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.6981, allocations: 412.2 kB / 0.7306 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.6982, allocations: 101.7 kB / 0.7307 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.6982, allocations: 106.9 kB / 0.7308 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-05/0.6983, allocations: 185.2 kB / 0.731 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.6984, allocations: 181.8 kB / 0.7312 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.924e-05/0.6984, allocations: 181 kB / 0.7313 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.808e-05/0.6985, allocations: 178.2 kB / 0.7315 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.6987, allocations: 323 kB / 0.7318 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.6988, allocations: 188.9 kB / 0.732 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.6988, allocations: 182.8 kB / 0.7322 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.699, allocations: 105.8 kB / 0.7323 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.6991, allocations: 182.3 kB / 0.7325 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.6991, allocations: 106.8 kB / 0.7326 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.6992, allocations: 86.73 kB / 0.7326 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6992, allocations: 0 / 0.7326 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003808/0.6996, allocations: 56.52 kB / 0.7327 GB, free: 10.18 MB / 0.5606 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.0003735/0.6999, allocations: 255.8 kB / 0.7329 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.7, allocations: 6.875 kB / 0.7329 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7, allocations: 1.469 kB / 0.7329 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.7001, allocations: 3.938 kB / 0.7329 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.7005, allocations: 0.5278 MB / 0.7335 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.7009, allocations: 185.3 kB / 0.7336 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.7011, allocations: 0.6743 MB / 0.7343 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.825e-05/0.7012, allocations: 14.97 kB / 0.7343 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.7012, allocations: 8.75 kB / 0.7343 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of SimCode: time 1.994e-06/0.7012, allocations: 0 / 0.7343 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of Templates: time 0.00435/0.7056, allocations: 1.328 MB / 0.7356 GB, free: 8.391 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)