Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108.7 kB / 16.41 MB, free: 6.5 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.001282/0.001282, 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002585/0.002585, allocations: 294.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 99.83 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4226, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1617/0.5843, allocations: 136 MB / 0.8998 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009447/0.5938, allocations: 7.942 MB / 0.9076 GB, free: 3.441 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.5938, allocations: 0 / 0.9076 GB, free: 3.441 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.594, allocations: 35.83 kB / 0.9076 GB, free: 3.406 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.594, allocations: 15.84 kB / 0.9076 GB, free: 3.391 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.5977, allocations: 1.472 MB / 0.909 GB, free: 1.922 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.5978, allocations: 79.7 kB / 0.9091 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.5978, allocations: 0 / 0.9091 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.598, allocations: 55.7 kB / 0.9092 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.5981, allocations: 31.91 kB / 0.9092 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.5981, allocations: 4 kB / 0.9092 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.6022, allocations: 2.704 MB / 0.9119 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.6023, allocations: 15.91 kB / 0.9119 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.6023, allocations: 27.88 kB / 0.9119 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.6041, allocations: 1.378 MB / 0.9132 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6041, allocations: 0 / 0.9132 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6042, allocations: 4 kB / 0.9132 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.6042, allocations: 3.938 kB / 0.9132 GB, free: 13.62 MB / 0.6856 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.001073/0.6052, allocations: 0.5061 MB / 0.9137 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6053, allocations: 12.03 kB / 0.9138 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.6056, allocations: 24.86 kB / 0.9138 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.6058, allocations: 164.4 kB / 0.9139 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.6059, allocations: 30.27 kB / 0.914 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.6059, allocations: 11.94 kB / 0.914 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.6062, allocations: 121.5 kB / 0.9141 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6063, allocations: 0 / 0.9141 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.6063, allocations: 8 kB / 0.9141 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.6063, allocations: 3.938 kB / 0.9141 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.6066, allocations: 111.9 kB / 0.9142 GB, free: 12.54 MB / 0.6856 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.0005476/0.6071, allocations: 376.1 kB / 0.9146 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.6074, allocations: 118.6 kB / 0.9147 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.6075, allocations: 52.83 kB / 0.9147 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.6201, allocations: 4.234 MB / 0.9189 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.6202, allocations: 30.56 kB / 0.9189 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 5.15e-06/0.6202, allocations: 3.984 kB / 0.9189 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0005862/0.6208, allocations: 167.5 kB / 0.9191 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6208, allocations: 51.41 kB / 0.9191 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.6209, allocations: 101.8 kB / 0.9192 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.6209, allocations: 29.7 kB / 0.9192 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.621, allocations: 88.14 kB / 0.9193 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.621, allocations: 43.62 kB / 0.9194 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.6211, allocations: 29.7 kB / 0.9194 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6212, allocations: 322.8 kB / 0.9197 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.6213, allocations: 27.92 kB / 0.9197 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.6213, allocations: 27.98 kB / 0.9197 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.6214, allocations: 67.34 kB / 0.9198 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6214, allocations: 0 / 0.9198 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000194/0.6216, allocations: 113.6 kB / 0.9199 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.6217, allocations: 8 kB / 0.9199 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6217, allocations: 0 / 0.9199 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6217, allocations: 0 / 0.9199 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.6218, allocations: 23.92 kB / 0.9199 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.6218, allocations: 0 / 0.9199 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.6219, allocations: 15.83 kB / 0.92 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6219, allocations: 8 kB / 0.92 GB, free: 6.176 MB / 0.6856 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 9.326e-05/0.622, allocations: 112.2 kB / 0.9201 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.622, allocations: 11.98 kB / 0.9201 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.6225, allocations: 364.3 kB / 0.9204 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.87e-05/0.6225, allocations: 15.92 kB / 0.9205 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6225, allocations: 0 / 0.9205 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6225, allocations: 3.938 kB / 0.9205 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.6228, allocations: 273.2 kB / 0.9207 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6228, allocations: 4 kB / 0.9207 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.6229, allocations: 19.98 kB / 0.9207 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.623, allocations: 4 kB / 0.9207 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.623, allocations: 7.984 kB / 0.9208 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.623, allocations: 4 kB / 0.9208 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.623, allocations: 0 / 0.9208 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.6233, allocations: 332.5 kB / 0.9211 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.6234, allocations: 108.9 kB / 0.9212 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.6234, allocations: 3.938 kB / 0.9212 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6236, allocations: 8 kB / 0.9212 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.6236, allocations: 7.984 kB / 0.9212 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6236, allocations: 15.94 kB / 0.9212 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.6237, allocations: 83.27 kB / 0.9213 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.6237, allocations: 0 / 0.9213 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008984/0.6246, allocations: 299.7 kB / 0.9216 GB, free: 4.438 MB / 0.6856 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.001253/0.6258, allocations: 398.3 kB / 0.922 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.6261, allocations: 127.8 kB / 0.9221 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6261, allocations: 0 / 0.9221 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.6262, allocations: 95.84 kB / 0.9222 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.6265, allocations: 15.98 kB / 0.9222 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.627, allocations: 304.3 kB / 0.9225 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.6273, allocations: 0.7166 MB / 0.9232 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000106/0.6274, allocations: 36.33 kB / 0.9232 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.6275, allocations: 19.44 kB / 0.9232 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.6275, allocations: 0 / 0.9232 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of Templates: time 0.01557/0.643, allocations: 9.793 MB / 0.9328 GB, free: 8.887 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)