Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001274/0.001274, allocations: 72.5 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.001412/0.001412, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9296/0.9296, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.001639/0.001639, allocations: 238.8 kB / 260.2 MB, free: 13 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.6794/0.6794, allocations: 138.4 MB / 455.1 MB, free: 30.06 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.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6475 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.07e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2772/0.2773, allocations: 26.9 MB / 0.6738 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007621/0.2849, allocations: 6.543 MB / 0.6802 GB, free: 35.92 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.2863, allocations: 65.75 kB / 0.6803 GB, free: 35.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.2876, allocations: 0.7068 MB / 0.681 GB, free: 35.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.2908, allocations: 1.615 MB / 0.6825 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.2932, allocations: 1.119 MB / 0.6836 GB, free: 34.11 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003031/0.2963, allocations: 2.565 MB / 0.6861 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2973, allocations: 0.661 MB / 0.6868 GB, free: 32.63 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.2991, allocations: 1.352 MB / 0.6881 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.3001, allocations: 0.7538 MB / 0.6888 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.3002, allocations: 67.84 kB / 0.6889 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.3018, allocations: 0.6882 MB / 0.6896 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.302, allocations: 303.8 kB / 0.6899 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.3024, allocations: 369.2 kB / 0.6902 GB, free: 31.29 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.3047, allocations: 1.611 MB / 0.6918 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3047, allocations: 1.25 kB / 0.6918 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3047, allocations: 3.938 kB / 0.6918 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.3047, allocations: 4 kB / 0.6918 GB, free: 30.7 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001912/0.3066, allocations: 1.524 MB / 0.6933 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3067, allocations: 11.16 kB / 0.6933 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.3085, allocations: 0.6034 MB / 0.6939 GB, free: 29.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.3096, allocations: 0.7761 MB / 0.6946 GB, free: 29.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.3097, allocations: 57.25 kB / 0.6947 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.3098, allocations: 73.03 kB / 0.6948 GB, free: 29.06 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.3114, allocations: 1.114 MB / 0.6959 GB, free: 28.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3114, allocations: 6.312 kB / 0.6959 GB, free: 28.53 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.3115, allocations: 32.83 kB / 0.6959 GB, free: 28.51 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.3115, allocations: 17.59 kB / 0.6959 GB, free: 28.51 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.3135, allocations: 1.009 MB / 0.6969 GB, free: 28.25 MB / 0.5573 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.004096/0.3176, allocations: 4.138 MB / 0.7009 GB, free: 25.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.3195, allocations: 0.8855 MB / 0.7018 GB, free: 24.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.3204, allocations: 471.2 kB / 0.7022 GB, free: 24.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/0.3209, allocations: 168.9 kB / 0.7024 GB, free: 24.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.3219, allocations: 0.5839 MB / 0.703 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=61): time 3.988e-06/0.3219, allocations: 1.25 kB / 0.703 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=61): time 0.002833/0.3248, allocations: 1.503 MB / 0.7044 GB, free: 23.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.3248, allocations: 58.5 kB / 0.7045 GB, free: 23.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.3257, allocations: 1.078 MB / 0.7056 GB, free: 23.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.3258, allocations: 47.05 kB / 0.7056 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.326, allocations: 0.5653 MB / 0.7062 GB, free: 22.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3262, allocations: 218.6 kB / 0.7064 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3263, allocations: 165 kB / 0.7065 GB, free: 22.44 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.938e-05/0.3264, allocations: 332.6 kB / 0.7068 GB, free: 22.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.3271, allocations: 460.9 kB / 0.7073 GB, free: 21.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008646/0.328, allocations: 0.9506 MB / 0.7082 GB, free: 21.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.3295, allocations: 1.139 MB / 0.7093 GB, free: 20.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3295, allocations: 2.406 kB / 0.7093 GB, free: 20.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00198/0.3315, allocations: 1.278 MB / 0.7106 GB, free: 19.69 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3315, allocations: 11.97 kB / 0.7106 GB, free: 19.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3315, allocations: 7.938 kB / 0.7106 GB, free: 19.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.3316, allocations: 15.72 kB / 0.7106 GB, free: 19.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.3322, allocations: 276.6 kB / 0.7109 GB, free: 19.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.3322, allocations: 15.78 kB / 0.7109 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.3329, allocations: 174.8 kB / 0.711 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.333, allocations: 41.08 kB / 0.7111 GB, free: 19.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0004707/0.3334, allocations: 303.6 kB / 0.7114 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3335, allocations: 114.8 kB / 0.7115 GB, free: 19.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.3357, allocations: 1.43 MB / 0.7129 GB, free: 18.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.3357, allocations: 15.52 kB / 0.7129 GB, free: 18.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3357, allocations: 1.125 kB / 0.7129 GB, free: 18.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3357, allocations: 3.984 kB / 0.7129 GB, free: 18.47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.3386, allocations: 2.252 MB / 0.7151 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3386, allocations: 3.344 kB / 0.7151 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.3391, allocations: 208.4 kB / 0.7153 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3391, allocations: 4.5 kB / 0.7153 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.3392, allocations: 22.08 kB / 0.7153 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3392, allocations: 8.453 kB / 0.7153 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3392, allocations: 3.312 kB / 0.7153 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.3419, allocations: 2.062 MB / 0.7174 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.3423, allocations: 203.5 kB / 0.7175 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.3423, allocations: 18.22 kB / 0.7176 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.3428, allocations: 101.3 kB / 0.7177 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.3428, allocations: 61.89 kB / 0.7177 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.3429, allocations: 34.67 kB / 0.7178 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006544/0.3436, allocations: 0.7341 MB / 0.7185 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3436, allocations: 1.094 kB / 0.7185 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001002/0.3446, allocations: 361.7 kB / 0.7188 GB, free: 15.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001171/0.3457, allocations: 0.6901 MB / 0.7195 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.3476, allocations: 1.116 MB / 0.7206 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3476, allocations: 0 / 0.7206 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008583/0.3485, allocations: 0.5659 MB / 0.7211 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3496, allocations: 366.2 kB / 0.7215 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.3526, allocations: 2.392 MB / 0.7238 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3528, allocations: 0.5292 MB / 0.7243 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.3531, allocations: 116.4 kB / 0.7244 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/0.3531, allocations: 0 / 0.7244 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of Templates: time 0.01555/0.3687, allocations: 18.93 MB / 0.7429 GB, free: 9.012 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.084051631391048] Failed to read output from testmodel.py, exit status != 0: 0.3749755183234811 0.383249308 0.076752051 Calling exit ...