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.001121/0.001121, allocations: 100.1 kB / 15.88 MB, free: 12 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.0014/0.0014, allocations: 196.4 kB / 16.79 MB, free: 6.809 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.34/1.34, allocations: 222.9 MB / 240.5 MB, free: 4.613 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 0.9511/0.9511, allocations: 143 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.5141 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1632, allocations: 82.03 MB / 0.5942 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002569/0.1658, allocations: 1.335 MB / 0.5956 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3851/0.551, allocations: 135.7 MB / 0.7281 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.5511, allocations: 0 / 0.7281 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.5511, allocations: 2.062 kB / 0.7281 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.5512, allocations: 0.75 kB / 0.7281 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.5524, allocations: 377.7 kB / 0.7284 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.5525, allocations: 36.62 kB / 0.7285 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.5525, allocations: 2.547 kB / 0.7285 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.5526, allocations: 26.88 kB / 0.7285 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.5526, allocations: 25.06 kB / 0.7285 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.5526, allocations: 1.312 kB / 0.7285 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.5542, allocations: 0.8186 MB / 0.7293 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.5543, allocations: 5.266 kB / 0.7293 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.5543, allocations: 26.03 kB / 0.7294 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.5548, allocations: 301.7 kB / 0.7297 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5548, allocations: 0 / 0.7297 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5548, allocations: 0 / 0.7297 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.5548, allocations: 1.031 kB / 0.7297 GB, free: 14.11 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.0004982/0.5553, allocations: 367.6 kB / 0.73 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5553, allocations: 9.625 kB / 0.73 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.5555, allocations: 11.09 kB / 0.73 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5556, allocations: 164 kB / 0.7302 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.5557, allocations: 10.44 kB / 0.7302 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5557, allocations: 3.875 kB / 0.7302 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5558, allocations: 62.28 kB / 0.7303 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5558, allocations: 0.5625 kB / 0.7303 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5559, allocations: 6.594 kB / 0.7303 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5559, allocations: 1.156 kB / 0.7303 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.483e-05/0.5559, allocations: 17.92 kB / 0.7303 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.5561, allocations: 172.3 kB / 0.7304 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.5562, allocations: 53.94 kB / 0.7305 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.5563, allocations: 13.77 kB / 0.7305 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.567, allocations: 3.171 MB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.5671, allocations: 36.97 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.5671, allocations: 4 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03917/0.6062, allocations: 14.86 MB / 0.7482 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.6063, allocations: 55.41 kB / 0.7482 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.6064, allocations: 93.86 kB / 0.7483 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.6064, allocations: 25.7 kB / 0.7483 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.6065, allocations: 80.14 kB / 0.7484 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.6065, allocations: 59.41 kB / 0.7485 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.6066, allocations: 33.64 kB / 0.7485 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6067, allocations: 314.8 kB / 0.7488 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.6067, allocations: 23.98 kB / 0.7488 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.6068, allocations: 23.98 kB / 0.7488 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.6069, allocations: 66.05 kB / 0.7489 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6069, allocations: 0 / 0.7489 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002147/0.6071, allocations: 105.6 kB / 0.749 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6072, allocations: 4 kB / 0.749 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6072, allocations: 4 kB / 0.749 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6072, allocations: 4 kB / 0.749 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.6073, allocations: 19.98 kB / 0.749 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.6073, allocations: 4.562 kB / 0.749 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.6074, allocations: 4 kB / 0.749 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.6074, allocations: 4 kB / 0.749 GB, free: 14.97 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 7.974e-05/0.6075, allocations: 117.7 kB / 0.7492 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.6075, allocations: 7.906 kB / 0.7492 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.6078, allocations: 129.5 kB / 0.7493 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6078, allocations: 0 / 0.7493 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6078, allocations: 0.5 kB / 0.7493 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6078, allocations: 7.984 kB / 0.7493 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.608, allocations: 169.6 kB / 0.7495 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.608, allocations: 8.484 kB / 0.7495 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.6081, allocations: 23.94 kB / 0.7495 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6081, allocations: 4 kB / 0.7495 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.6081, allocations: 8.547 kB / 0.7495 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6082, allocations: 0 / 0.7495 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6082, allocations: 1.016 kB / 0.7495 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.6085, allocations: 154 kB / 0.7496 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.6085, allocations: 89.12 kB / 0.7497 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.6086, allocations: 4.562 kB / 0.7497 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6087, allocations: 16 kB / 0.7498 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.6087, allocations: 7.984 kB / 0.7498 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.6088, allocations: 8 kB / 0.7498 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.6088, allocations: 79.22 kB / 0.7498 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6088, allocations: 3.938 kB / 0.7498 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002049/0.6109, allocations: 0.5624 MB / 0.7504 GB, free: 13.48 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.003131/0.614, allocations: 368.8 kB / 0.7507 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.6142, allocations: 67.91 kB / 0.7508 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6142, allocations: 0 / 0.7508 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.6143, allocations: 39.92 kB / 0.7509 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.6145, allocations: 11.94 kB / 0.7509 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.6152, allocations: 381.2 kB / 0.7512 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.6154, allocations: 0.6888 MB / 0.7519 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.6155, allocations: 19.42 kB / 0.7519 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6155, allocations: 0 / 0.7519 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.02284/0.6383, allocations: 14.42 MB / 0.766 GB, free: 13.57 MB / 0.5919 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)