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.0007523/0.0007523, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007114/0.0007114, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8232/0.8232, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001426/0.001426, allocations: 235.9 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6559/0.6559, allocations: 138.4 MB / 455.1 MB, free: 29.95 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.179e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3624/0.3624, allocations: 119.2 MB / 0.7639 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006162/0.3686, allocations: 7.23 MB / 0.7709 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.3687, allocations: 0 / 0.7709 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.3689, allocations: 27.83 kB / 0.7709 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.3689, allocations: 19.84 kB / 0.771 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.3721, allocations: 1.466 MB / 0.7724 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3722, allocations: 75.64 kB / 0.7725 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.3723, allocations: 4 kB / 0.7725 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.3725, allocations: 55.81 kB / 0.7725 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.3726, allocations: 27.95 kB / 0.7725 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3726, allocations: 4 kB / 0.7725 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00366/0.3762, allocations: 2.618 MB / 0.7751 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.3763, allocations: 19.91 kB / 0.7751 GB, free: 8.078 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.3763, allocations: 23.97 kB / 0.7751 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.3791, allocations: 1.797 MB / 0.7769 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3791, allocations: 4 kB / 0.7769 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3791, allocations: 4 kB / 0.7769 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3791, allocations: 0 / 0.7769 GB, free: 6.246 MB / 0.6042 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.001059/0.3801, allocations: 434.4 kB / 0.7773 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3802, allocations: 13.88 kB / 0.7773 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.3804, allocations: 29.38 kB / 0.7774 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.3805, allocations: 105.7 kB / 0.7775 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.3806, allocations: 55.97 kB / 0.7775 GB, free: 5.566 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3806, allocations: 8.375 kB / 0.7775 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.3808, allocations: 151.6 kB / 0.7777 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3809, allocations: 0 / 0.7777 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3809, allocations: 4.656 kB / 0.7777 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3809, allocations: 4 kB / 0.7777 GB, free: 5.391 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.3811, allocations: 119.8 kB / 0.7778 GB, free: 5.273 MB / 0.6042 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.0003979/0.3815, allocations: 268.4 kB / 0.7781 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.3816, allocations: 120.8 kB / 0.7782 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.3817, allocations: 45.94 kB / 0.7782 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005852/0.3875, allocations: 3.043 MB / 0.7812 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3876, allocations: 40.06 kB / 0.7812 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.3876, allocations: 0 / 0.7812 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0003871/0.388, allocations: 169.6 kB / 0.7814 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.388, allocations: 51.41 kB / 0.7814 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.3881, allocations: 97.86 kB / 0.7815 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3881, allocations: 29.7 kB / 0.7816 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.3881, allocations: 91.97 kB / 0.7816 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.3882, allocations: 43.59 kB / 0.7817 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3882, allocations: 29.7 kB / 0.7817 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.3883, allocations: 318.8 kB / 0.782 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.3883, allocations: 23.98 kB / 0.782 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.3884, allocations: 33.44 kB / 0.7821 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.3884, allocations: 74.16 kB / 0.7821 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3884, allocations: 4 kB / 0.7821 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001301/0.3886, allocations: 101.7 kB / 0.7822 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3886, allocations: 9.875 kB / 0.7822 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3886, allocations: 0 / 0.7822 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.3886, allocations: 0 / 0.7822 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.3887, allocations: 25.92 kB / 0.7823 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3887, allocations: 0 / 0.7823 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.3887, allocations: 11.89 kB / 0.7823 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3888, allocations: 11.98 kB / 0.7823 GB, free: 0.5586 MB / 0.6042 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 6.683e-05/0.3888, allocations: 114.4 kB / 0.7824 GB, free: 448 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.3888, allocations: 11.95 kB / 0.7824 GB, free: 436 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.3892, allocations: 379.1 kB / 0.7828 GB, free: 52 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3892, allocations: 4 kB / 0.7828 GB, free: 48 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3892, allocations: 0 / 0.7828 GB, free: 48 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3892, allocations: 7.922 kB / 0.7828 GB, free: 40 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3894, allocations: 217 kB / 0.783 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3894, allocations: 3.938 kB / 0.783 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.3895, allocations: 27.98 kB / 0.783 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3895, allocations: 0 / 0.783 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.3895, allocations: 3.984 kB / 0.783 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3895, allocations: 7.516 kB / 0.783 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3895, allocations: 1.125 kB / 0.783 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3898, allocations: 339 kB / 0.7834 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3898, allocations: 35.75 kB / 0.7834 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3898, allocations: 4 kB / 0.7834 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.3899, allocations: 4 kB / 0.7834 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.3899, allocations: 11.98 kB / 0.7834 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.3899, allocations: 7.984 kB / 0.7834 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.39, allocations: 79.28 kB / 0.7835 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.39, allocations: 0 / 0.7835 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007688/0.3907, allocations: 310.9 kB / 0.7838 GB, free: 14.97 MB / 0.6198 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.001007/0.3917, allocations: 445.1 kB / 0.7842 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3919, allocations: 131.8 kB / 0.7843 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3919, allocations: 0 / 0.7843 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.392, allocations: 91.91 kB / 0.7844 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3922, allocations: 24.03 kB / 0.7845 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.3927, allocations: 339.6 kB / 0.7848 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.3927, allocations: 106.4 kB / 0.7849 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.3928, allocations: 16.5 kB / 0.7849 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.3928, allocations: 0 / 0.7849 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.008272/0.401, allocations: 6.963 MB / 0.7917 GB, free: 6.848 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.549371530301869] Failed to read output from testmodel.py, exit status != 0: 0.40662699565291405 0.415272671 0.03435711 Calling exit ...