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.001262/0.001262, allocations: 102 kB / 16.4 MB, free: 6.461 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.001429/0.001429, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6905/0.6905, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 65.06 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1429, allocations: 76.18 MB / 0.6321 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5344/0.6773, allocations: 135.5 MB / 0.7644 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008452/0.6858, allocations: 7.91 MB / 0.7721 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.686, allocations: 4.656 kB / 0.7721 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.6863, allocations: 25.66 kB / 0.7722 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.6864, allocations: 20.2 kB / 0.7722 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.692, allocations: 1.462 MB / 0.7736 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.6922, allocations: 74.55 kB / 0.7737 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.6923, allocations: 7.484 kB / 0.7737 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.6924, allocations: 49.14 kB / 0.7737 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.914e-05/0.6925, allocations: 31.89 kB / 0.7738 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.6925, allocations: 2.75 kB / 0.7738 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005607/0.6982, allocations: 2.702 MB / 0.7764 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.6982, allocations: 15.98 kB / 0.7764 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.6983, allocations: 33.17 kB / 0.7765 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003645/0.702, allocations: 1.372 MB / 0.7778 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.702, allocations: 2.484 kB / 0.7778 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.702, allocations: 1.438 kB / 0.7778 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.702, allocations: 0 / 0.7778 GB, free: 14.61 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.001628/0.7037, allocations: 0.4909 MB / 0.7783 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7037, allocations: 16.72 kB / 0.7783 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.7041, allocations: 22.33 kB / 0.7783 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7043, allocations: 173.3 kB / 0.7785 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.7044, allocations: 33.67 kB / 0.7785 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.7044, allocations: 8.062 kB / 0.7785 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.7048, allocations: 118.6 kB / 0.7786 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7048, allocations: 4.844 kB / 0.7786 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.7048, allocations: 1.031 kB / 0.7786 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.7049, allocations: 6.391 kB / 0.7786 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.7051, allocations: 121.5 kB / 0.7788 GB, free: 13.91 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.0004921/0.7056, allocations: 377.7 kB / 0.7791 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.7059, allocations: 128.8 kB / 0.7792 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.706, allocations: 49.97 kB / 0.7793 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.7173, allocations: 4.237 MB / 0.7834 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.7174, allocations: 38.97 kB / 0.7835 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.534e-06/0.7174, allocations: 5.375 kB / 0.7835 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005193/0.7179, allocations: 161.4 kB / 0.7836 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.7179, allocations: 59.5 kB / 0.7837 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.718, allocations: 97.98 kB / 0.7838 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.718, allocations: 27.67 kB / 0.7838 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.7181, allocations: 85.61 kB / 0.7839 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.7181, allocations: 45.73 kB / 0.7839 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.7182, allocations: 30.47 kB / 0.784 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7183, allocations: 323 kB / 0.7843 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.7184, allocations: 25.75 kB / 0.7843 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.7184, allocations: 29.73 kB / 0.7843 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.7185, allocations: 64.64 kB / 0.7844 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.7185, allocations: 0 / 0.7844 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001665/0.7187, allocations: 115.1 kB / 0.7845 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7187, allocations: 2.875 kB / 0.7845 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7187, allocations: 2.5 kB / 0.7845 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.7187, allocations: 1.094 kB / 0.7845 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7189, allocations: 29.95 kB / 0.7845 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7189, allocations: 0 / 0.7845 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.7189, allocations: 6.531 kB / 0.7845 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.7189, allocations: 6.031 kB / 0.7845 GB, free: 10.92 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 8.294e-05/0.719, allocations: 114.1 kB / 0.7846 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.7191, allocations: 12.25 kB / 0.7847 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.7195, allocations: 361.5 kB / 0.785 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.7195, allocations: 5.281 kB / 0.785 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7195, allocations: 4.062 kB / 0.785 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7195, allocations: 5.203 kB / 0.785 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.7197, allocations: 291 kB / 0.7853 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7198, allocations: 0 / 0.7853 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.7199, allocations: 24.14 kB / 0.7853 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7199, allocations: 0 / 0.7853 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7199, allocations: 5.344 kB / 0.7853 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7199, allocations: 0 / 0.7853 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7199, allocations: 2.531 kB / 0.7853 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.7202, allocations: 340.5 kB / 0.7856 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.7203, allocations: 104.9 kB / 0.7857 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.7203, allocations: 1.781 kB / 0.7857 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.7204, allocations: 11.86 kB / 0.7858 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.7204, allocations: 7.344 kB / 0.7858 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.7205, allocations: 8.328 kB / 0.7858 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.7205, allocations: 83.84 kB / 0.7859 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7205, allocations: 0 / 0.7859 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00107/0.7216, allocations: 294.8 kB / 0.7861 GB, free: 10.16 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.001135/0.7227, allocations: 398.5 kB / 0.7865 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.7229, allocations: 126.8 kB / 0.7866 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7229, allocations: 0 / 0.7866 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.723, allocations: 116.3 kB / 0.7867 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.7233, allocations: 18.48 kB / 0.7868 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.7238, allocations: 309.2 kB / 0.7871 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.724, allocations: 0.7166 MB / 0.7878 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9e-05/0.7241, allocations: 28.8 kB / 0.7878 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.7242, allocations: 14.36 kB / 0.7878 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7242, allocations: 0 / 0.7878 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of Templates: time 0.01313/0.7373, allocations: 9.815 MB / 0.7974 GB, free: 4.188 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)