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.001489/0.001489, allocations: 112.6 kB / 16.37 MB, free: 6 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.001669/0.001669, allocations: 196 kB / 17.31 MB, free: 5.613 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.17 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.8558/0.8558, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.301, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001962/0.303, allocations: 1.261 MB / 0.5969 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1347/0.4377, allocations: 137.7 MB / 0.7314 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.4378, allocations: 3.938 kB / 0.7314 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.4378, allocations: 0 / 0.7314 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.4379, allocations: 3.938 kB / 0.7314 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.4392, allocations: 467.5 kB / 0.7319 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.4393, allocations: 43.83 kB / 0.7319 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.4393, allocations: 8 kB / 0.7319 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.4394, allocations: 15.98 kB / 0.7319 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.4395, allocations: 23.91 kB / 0.732 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.4395, allocations: 4 kB / 0.732 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.4409, allocations: 0.8309 MB / 0.7328 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.4409, allocations: 8 kB / 0.7328 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.4409, allocations: 19.91 kB / 0.7328 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.4415, allocations: 447 kB / 0.7332 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4415, allocations: 0 / 0.7332 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4415, allocations: 3.938 kB / 0.7332 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4415, allocations: 0 / 0.7332 GB, free: 2.855 MB / 0.5606 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.0004724/0.442, allocations: 373.2 kB / 0.7336 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.442, allocations: 12.03 kB / 0.7336 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.4422, allocations: 8.938 kB / 0.7336 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4423, allocations: 168.3 kB / 0.7338 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.4423, allocations: 384 / 0.7338 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.4424, allocations: 12.12 kB / 0.7338 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.4425, allocations: 57.61 kB / 0.7338 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.4425, allocations: 0 / 0.7338 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4425, allocations: 8 kB / 0.7338 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4425, allocations: 0 / 0.7338 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.4426, allocations: 23.98 kB / 0.7339 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.4428, allocations: 157.7 kB / 0.734 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.4429, allocations: 66.47 kB / 0.7341 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.4429, allocations: 16.8 kB / 0.7341 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.4535, allocations: 3.201 MB / 0.7372 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4536, allocations: 30.56 kB / 0.7372 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.4536, allocations: 8 kB / 0.7372 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.298/0.7516, allocations: 14.99 MB / 0.7519 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.7517, allocations: 57.3 kB / 0.7519 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.7517, allocations: 99.89 kB / 0.752 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.7518, allocations: 26.58 kB / 0.7521 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.7518, allocations: 81.75 kB / 0.7521 GB, free: 151 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.7518, allocations: 39.59 kB / 0.7522 GB, free: 151 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.7519, allocations: 34.34 kB / 0.7522 GB, free: 151 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.7519, allocations: 317.9 kB / 0.7525 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.752, allocations: 24.91 kB / 0.7525 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.752, allocations: 27.92 kB / 0.7526 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.7522, allocations: 64.55 kB / 0.7526 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7522, allocations: 1.438 kB / 0.7526 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002215/0.7524, allocations: 104.2 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7524, allocations: 4.75 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7524, allocations: 1.922 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7525, allocations: 1.5 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.7526, allocations: 27.25 kB / 0.7528 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7526, allocations: 0.5938 kB / 0.7528 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.7526, allocations: 2.516 kB / 0.7528 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.7527, allocations: 8.344 kB / 0.7528 GB, free: 150.6 MB / 0.5762 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 6.002e-05/0.7527, allocations: 120.8 kB / 0.7529 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.7528, allocations: 3.656 kB / 0.7529 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.7531, allocations: 134.5 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7531, allocations: 1.438 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7531, allocations: 2.734 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.7531, allocations: 1.438 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.7532, allocations: 175.5 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7532, allocations: 0.5625 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.7534, allocations: 26.5 kB / 0.7532 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7534, allocations: 1.703 kB / 0.7532 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.7534, allocations: 2.438 kB / 0.7532 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7534, allocations: 2.141 kB / 0.7532 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7534, allocations: 1.5 kB / 0.7532 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.7537, allocations: 160 kB / 0.7534 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.7538, allocations: 93.59 kB / 0.7535 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.7538, allocations: 4.703 kB / 0.7535 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.7539, allocations: 13.73 kB / 0.7535 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.754, allocations: 10.73 kB / 0.7535 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.754, allocations: 5.469 kB / 0.7535 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.613e-05/0.754, allocations: 78.2 kB / 0.7536 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.754, allocations: 0 / 0.7536 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001694/0.7557, allocations: 0.5688 MB / 0.7541 GB, free: 149.8 MB / 0.5762 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.002712/0.7584, allocations: 357.9 kB / 0.7545 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.7586, allocations: 69.11 kB / 0.7545 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7586, allocations: 0.8438 kB / 0.7545 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.7587, allocations: 32.64 kB / 0.7546 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.7589, allocations: 16.66 kB / 0.7546 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.7594, allocations: 343.2 kB / 0.7549 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.7595, allocations: 0.6933 MB / 0.7556 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.984e-05/0.7596, allocations: 23.53 kB / 0.7556 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.7597, allocations: 19.94 kB / 0.7556 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.7597, allocations: 0 / 0.7556 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03106/0.7907, allocations: 24.35 MB / 0.7794 GB, free: 135.2 MB / 0.5762 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)