Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 112.2 kB / 16.41 MB, free: 6.492 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.001155/0.001155, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7466/0.7466, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 65.12 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2023, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.568/0.7703, allocations: 135.5 MB / 0.7644 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008214/0.7786, allocations: 7.915 MB / 0.7721 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.7787, allocations: 0.5625 kB / 0.7721 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.7789, allocations: 29.03 kB / 0.7722 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.779, allocations: 21.19 kB / 0.7722 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004829/0.7838, allocations: 1.468 MB / 0.7736 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.784, allocations: 79.38 kB / 0.7737 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.7841, allocations: 5.078 kB / 0.7737 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.7842, allocations: 45.55 kB / 0.7737 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.7843, allocations: 35.53 kB / 0.7738 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.7843, allocations: 3.406 kB / 0.7738 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.7895, allocations: 2.699 MB / 0.7764 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.7895, allocations: 15.55 kB / 0.7764 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.7896, allocations: 33.64 kB / 0.7765 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.7919, allocations: 1.376 MB / 0.7778 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.7919, allocations: 5.125 kB / 0.7778 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7919, allocations: 0 / 0.7778 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.7919, allocations: 0 / 0.7778 GB, free: 15.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001074/0.793, allocations: 0.4907 MB / 0.7783 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.7931, allocations: 9.312 kB / 0.7783 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.7935, allocations: 29.11 kB / 0.7783 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.7937, allocations: 169.4 kB / 0.7785 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.7937, allocations: 34.02 kB / 0.7785 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.7938, allocations: 10.56 kB / 0.7785 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.7942, allocations: 122.4 kB / 0.7786 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7942, allocations: 0 / 0.7786 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.7942, allocations: 3.312 kB / 0.7787 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.7942, allocations: 2.25 kB / 0.7787 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.7945, allocations: 113.1 kB / 0.7788 GB, free: 14.33 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.7951, allocations: 381.6 kB / 0.7791 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.7954, allocations: 129.3 kB / 0.7792 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.7955, allocations: 51.84 kB / 0.7793 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.8076, allocations: 4.24 MB / 0.7834 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.8077, allocations: 31.94 kB / 0.7835 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.8077, allocations: 0 / 0.7835 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005422/0.8083, allocations: 161.5 kB / 0.7836 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.8083, allocations: 52.78 kB / 0.7837 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.8084, allocations: 105.5 kB / 0.7838 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.8084, allocations: 34.77 kB / 0.7838 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.8085, allocations: 80.14 kB / 0.7839 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.8085, allocations: 46.66 kB / 0.7839 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.8086, allocations: 28.67 kB / 0.784 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8087, allocations: 321.5 kB / 0.7843 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.8087, allocations: 31.41 kB / 0.7843 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.8088, allocations: 28.58 kB / 0.7843 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.8089, allocations: 71.91 kB / 0.7844 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8089, allocations: 0 / 0.7844 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001718/0.8091, allocations: 109.6 kB / 0.7845 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8091, allocations: 4.906 kB / 0.7845 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8092, allocations: 2.156 kB / 0.7845 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.8092, allocations: 2.875 kB / 0.7845 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8093, allocations: 20.84 kB / 0.7845 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8093, allocations: 4 kB / 0.7845 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.8094, allocations: 7.5 kB / 0.7845 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.8094, allocations: 8.609 kB / 0.7845 GB, free: 11.34 MB / 0.5919 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 (13): * Single equations (assignments): 13 * 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 0.0001039/0.8095, allocations: 117.5 kB / 0.7847 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.8096, allocations: 6.938 kB / 0.7847 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.81, allocations: 362 kB / 0.785 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.81, allocations: 8.406 kB / 0.785 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.81, allocations: 0 / 0.785 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8101, allocations: 192 / 0.785 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.8104, allocations: 285 kB / 0.7853 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.8104, allocations: 4.422 kB / 0.7853 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.8105, allocations: 29.27 kB / 0.7853 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8105, allocations: 5.031 kB / 0.7853 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.8105, allocations: 7.172 kB / 0.7853 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8105, allocations: 1 kB / 0.7853 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8105, allocations: 0 / 0.7853 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.8109, allocations: 335.1 kB / 0.7856 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.811, allocations: 106.9 kB / 0.7858 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.811, allocations: 0 / 0.7858 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.8111, allocations: 10.23 kB / 0.7858 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.8112, allocations: 11.12 kB / 0.7858 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.8112, allocations: 6.297 kB / 0.7858 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.8112, allocations: 87.73 kB / 0.7859 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8112, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001603/0.8128, allocations: 296.8 kB / 0.7861 GB, free: 10.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001329/0.8142, allocations: 395 kB / 0.7865 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.8144, allocations: 126.4 kB / 0.7866 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8144, allocations: 0 / 0.7866 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.8146, allocations: 114.3 kB / 0.7868 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.8149, allocations: 27.73 kB / 0.7868 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.8154, allocations: 308.5 kB / 0.7871 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.8157, allocations: 0.7118 MB / 0.7878 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.8158, allocations: 30.89 kB / 0.7878 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.8159, allocations: 26.34 kB / 0.7878 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8159, allocations: 0 / 0.7878 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of Templates: time 0.01338/0.8292, allocations: 9.8 MB / 0.7974 GB, free: 4.609 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)