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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002512/0.002512, allocations: 287.3 kB / 313.5 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 103.8 kB / 0.7408 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1608, allocations: 95.39 MB / 0.8339 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1576/0.3184, allocations: 138.8 MB / 0.9695 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009621/0.328, allocations: 8.041 MB / 0.9774 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.3281, allocations: 0 / 0.9774 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.3283, allocations: 27.83 kB / 0.9774 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.3283, allocations: 15.86 kB / 0.9774 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.332, allocations: 1.485 MB / 0.9789 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3321, allocations: 75.69 kB / 0.9789 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3322, allocations: 4 kB / 0.9789 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3323, allocations: 43.84 kB / 0.979 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.3324, allocations: 35.84 kB / 0.979 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3324, allocations: 4 kB / 0.979 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.3368, allocations: 2.723 MB / 0.9817 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.3369, allocations: 11.97 kB / 0.9817 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.3369, allocations: 35.8 kB / 0.9817 GB, free: 292 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4406/0.7775, allocations: 1.38 MB / 0.9831 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7775, allocations: 0 / 0.9831 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7775, allocations: 1.188 kB / 0.9831 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.7775, allocations: 0 / 0.9831 GB, free: 6.23 MB / 0.7169 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.001221/0.7787, allocations: 435.2 kB / 0.9835 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.7788, allocations: 14.2 kB / 0.9835 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000421/0.7792, allocations: 23.66 kB / 0.9835 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.7793, allocations: 118 kB / 0.9836 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.7793, allocations: 56.19 kB / 0.9837 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.7794, allocations: 10.41 kB / 0.9837 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.7797, allocations: 121.5 kB / 0.9838 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.7797, allocations: 4.406 kB / 0.9838 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.7797, allocations: 4 kB / 0.9838 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7798, allocations: 2.031 kB / 0.9838 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.78, allocations: 116.6 kB / 0.9839 GB, free: 5.68 MB / 0.7169 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.0003882/0.7804, allocations: 356.5 kB / 0.9843 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.7807, allocations: 122.6 kB / 0.9844 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.7807, allocations: 44.86 kB / 0.9844 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.7921, allocations: 3.037 MB / 0.9874 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.7922, allocations: 32.14 kB / 0.9874 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.7922, allocations: 2.25 kB / 0.9874 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004999/0.7927, allocations: 167.8 kB / 0.9876 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.7927, allocations: 58 kB / 0.9877 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.7927, allocations: 99.66 kB / 0.9877 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.7928, allocations: 25.7 kB / 0.9878 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.7928, allocations: 92.52 kB / 0.9879 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.7928, allocations: 50.97 kB / 0.9879 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.7929, allocations: 33.52 kB / 0.9879 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003055/0.7932, allocations: 316.7 kB / 0.9882 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.7932, allocations: 28.12 kB / 0.9883 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.7932, allocations: 25.77 kB / 0.9883 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.7933, allocations: 68.81 kB / 0.9884 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7933, allocations: 0 / 0.9884 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001653/0.7935, allocations: 108.5 kB / 0.9885 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7935, allocations: 6.812 kB / 0.9885 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.7935, allocations: 0.5625 kB / 0.9885 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.7935, allocations: 4.406 kB / 0.9885 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.7937, allocations: 22.47 kB / 0.9885 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7937, allocations: 0.6562 kB / 0.9885 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.7937, allocations: 9.422 kB / 0.9885 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.7937, allocations: 6.766 kB / 0.9885 GB, free: 20.58 MB / 0.7325 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.534e-05/0.7938, allocations: 122.6 kB / 0.9886 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.7939, allocations: 11.36 kB / 0.9886 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.7942, allocations: 380.6 kB / 0.989 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7943, allocations: 8.734 kB / 0.989 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7943, allocations: 0.875 kB / 0.989 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7943, allocations: 1.172 kB / 0.989 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.7945, allocations: 260.2 kB / 0.9893 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7945, allocations: 0 / 0.9893 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.7946, allocations: 25.08 kB / 0.9893 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7946, allocations: 1.703 kB / 0.9893 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.7946, allocations: 6.984 kB / 0.9893 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7946, allocations: 1.031 kB / 0.9893 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7946, allocations: 0.5625 kB / 0.9893 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.7949, allocations: 338 kB / 0.9896 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.7949, allocations: 30.36 kB / 0.9896 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.795, allocations: 6.031 kB / 0.9896 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.7951, allocations: 5.547 kB / 0.9897 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.7951, allocations: 12.66 kB / 0.9897 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.7951, allocations: 7.234 kB / 0.9897 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.7952, allocations: 81.44 kB / 0.9898 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7952, allocations: 0 / 0.9898 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001647/0.7968, allocations: 310.4 kB / 0.99 GB, free: 19.95 MB / 0.7325 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.001294/0.7981, allocations: 397.5 kB / 0.9904 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.7983, allocations: 127.7 kB / 0.9905 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7983, allocations: 0 / 0.9905 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.7984, allocations: 95.55 kB / 0.9906 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.7987, allocations: 22.62 kB / 0.9907 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.7992, allocations: 352.6 kB / 0.991 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.7995, allocations: 0.7156 MB / 0.9917 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.7995, allocations: 19.59 kB / 0.9917 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.7995, allocations: 0 / 0.9917 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.01544/0.815, allocations: 6.883 MB / 0.9984 GB, free: 18.54 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.205671268049628] Failed to read output from testmodel.py, exit status != 0: 0.8217274099588394 0.832966949 0.053083145000000005 Calling exit ...