Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001397/0.001397, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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 0.7896/0.7896, allocations: 143 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.33 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.00195/0.1401, allocations: 1.265 MB / 0.6775 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4233/0.5633, allocations: 137.7 MB / 0.812 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.5634, allocations: 0 / 0.812 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.5634, allocations: 2.719 kB / 0.812 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.5635, allocations: 7.938 kB / 0.812 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.5648, allocations: 466.1 kB / 0.8125 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.5649, allocations: 44.05 kB / 0.8125 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.075e-05/0.5649, allocations: 1.781 kB / 0.8125 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.5649, allocations: 26.8 kB / 0.8125 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.565, allocations: 24.86 kB / 0.8126 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.565, allocations: 4.5 kB / 0.8126 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.5664, allocations: 0.8213 MB / 0.8134 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.5664, allocations: 13.67 kB / 0.8134 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.5665, allocations: 24.08 kB / 0.8134 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.567, allocations: 450.6 kB / 0.8138 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.567, allocations: 0 / 0.8138 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.051e-06/0.567, allocations: 0 / 0.8138 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.567, allocations: 0 / 0.8138 GB, free: 8.27 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004733/0.5675, allocations: 365 kB / 0.8142 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5676, allocations: 12.86 kB / 0.8142 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.5677, allocations: 13.72 kB / 0.8142 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5679, allocations: 164.4 kB / 0.8144 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5679, allocations: 6.062 kB / 0.8144 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.5679, allocations: 3.688 kB / 0.8144 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.568, allocations: 61.33 kB / 0.8144 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5681, allocations: 3.938 kB / 0.8144 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5681, allocations: 4.625 kB / 0.8144 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5681, allocations: 1.469 kB / 0.8144 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.5682, allocations: 23.53 kB / 0.8145 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.5683, allocations: 161.6 kB / 0.8146 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/0.5684, allocations: 52.47 kB / 0.8147 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.5685, allocations: 19.94 kB / 0.8147 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009951/0.5784, allocations: 3.202 MB / 0.8178 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5785, allocations: 37.41 kB / 0.8178 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.5785, allocations: 0 / 0.8178 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03625/0.6148, allocations: 15.01 MB / 0.8325 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.6148, allocations: 51.41 kB / 0.8326 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.6149, allocations: 93.86 kB / 0.8326 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.6149, allocations: 29.83 kB / 0.8327 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.6149, allocations: 84.14 kB / 0.8328 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.615, allocations: 39.39 kB / 0.8328 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.615, allocations: 37.61 kB / 0.8328 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.6151, allocations: 314.8 kB / 0.8331 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.6152, allocations: 23.98 kB / 0.8331 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.6152, allocations: 23.98 kB / 0.8332 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.6153, allocations: 76.17 kB / 0.8332 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.6153, allocations: 4 kB / 0.8332 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001947/0.6155, allocations: 101.7 kB / 0.8333 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6156, allocations: 4 kB / 0.8333 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6156, allocations: 0 / 0.8333 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6156, allocations: 0 / 0.8333 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.6157, allocations: 31.92 kB / 0.8334 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6157, allocations: 4 kB / 0.8334 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.6157, allocations: 0 / 0.8334 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.6158, allocations: 4 kB / 0.8334 GB, free: 12.48 MB / 0.6075 GB 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 (14): * Single equations (assignments): 14 * 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.253e-05/0.6158, allocations: 121.7 kB / 0.8335 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.6159, allocations: 7.906 kB / 0.8335 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.6161, allocations: 117.6 kB / 0.8336 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6161, allocations: 0 / 0.8336 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6162, allocations: 0.875 kB / 0.8336 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6162, allocations: 7.922 kB / 0.8336 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.6163, allocations: 181.6 kB / 0.8338 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6163, allocations: 4 kB / 0.8338 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.6164, allocations: 27.92 kB / 0.8338 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.6164, allocations: 4 kB / 0.8338 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6164, allocations: 11.61 kB / 0.8339 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6164, allocations: 0 / 0.8339 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6165, allocations: 0 / 0.8339 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.6167, allocations: 149 kB / 0.834 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.6168, allocations: 89.12 kB / 0.8341 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.6168, allocations: 12 kB / 0.8341 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.6169, allocations: 8 kB / 0.8341 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.617, allocations: 7.984 kB / 0.8341 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.617, allocations: 15.88 kB / 0.8341 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.617, allocations: 75.28 kB / 0.8342 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.617, allocations: 0 / 0.8342 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001392/0.6184, allocations: 0.5663 MB / 0.8347 GB, free: 11 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002623/0.6211, allocations: 363 kB / 0.8351 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.6212, allocations: 64.23 kB / 0.8352 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.6212, allocations: 0 / 0.8352 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.6213, allocations: 39.92 kB / 0.8352 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.6215, allocations: 13.66 kB / 0.8352 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.622, allocations: 371.6 kB / 0.8356 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.6222, allocations: 0.6892 MB / 0.8362 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.6222, allocations: 23.42 kB / 0.8363 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.6222, allocations: 0 / 0.8363 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.01856/0.6408, allocations: 14.42 MB / 0.8503 GB, free: 11.05 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)