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.001743/0.001743, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001994/0.001994, allocations: 194.6 kB / 16.14 MB, free: 6.664 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.075/1.075, allocations: 143 MB / 433 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.5135 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1892, allocations: 82.03 MB / 0.5936 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002732/0.192, allocations: 1.331 MB / 0.5949 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5287/0.7207, allocations: 135.7 MB / 0.7274 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.7208, allocations: 0 / 0.7274 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.7209, allocations: 1.312 kB / 0.7274 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.7209, allocations: 1.781 kB / 0.7274 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.7223, allocations: 377.6 kB / 0.7278 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.7224, allocations: 41 kB / 0.7278 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.7225, allocations: 2.797 kB / 0.7278 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.7225, allocations: 26.77 kB / 0.7279 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.7226, allocations: 20.2 kB / 0.7279 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.7226, allocations: 1.25 kB / 0.7279 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.7244, allocations: 0.8207 MB / 0.7287 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.7244, allocations: 11.05 kB / 0.7287 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.7245, allocations: 17.58 kB / 0.7287 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007904/0.7253, allocations: 456.6 kB / 0.7291 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7253, allocations: 0.5625 kB / 0.7291 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.92e-07/0.7253, allocations: 0 / 0.7291 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7253, allocations: 0 / 0.7291 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.0005584/0.7259, allocations: 369.5 kB / 0.7295 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7259, allocations: 9.844 kB / 0.7295 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.7262, allocations: 10.56 kB / 0.7295 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.7263, allocations: 164 kB / 0.7297 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.7263, allocations: 2.5 kB / 0.7297 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.7263, allocations: 12.78 kB / 0.7297 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7265, allocations: 57.16 kB / 0.7297 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7265, allocations: 0.75 kB / 0.7297 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.7265, allocations: 5.125 kB / 0.7297 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.7265, allocations: 1.156 kB / 0.7297 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.7266, allocations: 18.86 kB / 0.7298 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.7268, allocations: 168.2 kB / 0.7299 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.7269, allocations: 56.56 kB / 0.73 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.727, allocations: 22.06 kB / 0.73 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.7379, allocations: 3.171 MB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.7379, allocations: 36 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.738, allocations: 0 / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04174/0.7797, allocations: 14.86 MB / 0.7476 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.7798, allocations: 51.41 kB / 0.7477 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.7798, allocations: 89.86 kB / 0.7478 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.7799, allocations: 33.7 kB / 0.7478 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.7799, allocations: 80.14 kB / 0.7479 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.78, allocations: 47.28 kB / 0.7479 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.78, allocations: 41.83 kB / 0.748 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7802, allocations: 310.8 kB / 0.7483 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.7803, allocations: 27.92 kB / 0.7483 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.7803, allocations: 31.98 kB / 0.7483 GB, free: 15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.7805, allocations: 67.05 kB / 0.7484 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.7805, allocations: 0 / 0.7484 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000211/0.7807, allocations: 97.67 kB / 0.7485 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7807, allocations: 8 kB / 0.7485 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7807, allocations: 0 / 0.7485 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7808, allocations: 4 kB / 0.7485 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.7809, allocations: 31.92 kB / 0.7485 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7809, allocations: 0.7031 kB / 0.7485 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.7809, allocations: 0 / 0.7485 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.7809, allocations: 8 kB / 0.7485 GB, free: 14.78 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 8.372e-05/0.781, allocations: 117.8 kB / 0.7486 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.7811, allocations: 7.906 kB / 0.7487 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.7814, allocations: 128 kB / 0.7488 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7814, allocations: 4 kB / 0.7488 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7814, allocations: 0 / 0.7488 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7814, allocations: 3.984 kB / 0.7488 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.7815, allocations: 174.5 kB / 0.7489 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7815, allocations: 0 / 0.7489 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.7817, allocations: 24 kB / 0.749 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.7817, allocations: 7.984 kB / 0.749 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7817, allocations: 4 kB / 0.749 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7817, allocations: 0 / 0.749 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7817, allocations: 2.125 kB / 0.749 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.782, allocations: 159 kB / 0.7491 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.7821, allocations: 89.09 kB / 0.7492 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.7821, allocations: 0 / 0.7492 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.7823, allocations: 19.92 kB / 0.7492 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.7823, allocations: 8 kB / 0.7492 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.7823, allocations: 4 kB / 0.7493 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.7824, allocations: 79.27 kB / 0.7493 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7824, allocations: 0 / 0.7493 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002063/0.7844, allocations: 0.5702 MB / 0.7499 GB, free: 13.3 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.003031/0.7875, allocations: 359.2 kB / 0.7502 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.7877, allocations: 75.91 kB / 0.7503 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7877, allocations: 0 / 0.7503 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.7877, allocations: 31.98 kB / 0.7503 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.7879, allocations: 11.94 kB / 0.7503 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.7885, allocations: 355.5 kB / 0.7507 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.7888, allocations: 0.6926 MB / 0.7514 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.747e-05/0.7889, allocations: 21.75 kB / 0.7514 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.789, allocations: 23.44 kB / 0.7514 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.789, allocations: 0 / 0.7514 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03531/0.8243, allocations: 24.3 MB / 0.7751 GB, free: 3.469 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)