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.001309/0.001309, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001373/0.001373, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.002607/0.002607, allocations: 245.8 kB / 259.4 MB, free: 488 kB / 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.233/1.233, allocations: 138.4 MB / 454.3 MB, free: 1.984 MB / 366.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.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.744e-06/1.744e-06, allocations: 0 / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.077e-05, allocations: 13.81 kB / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3707/0.3707, allocations: 26.9 MB / 0.6731 GB, free: 41.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009644/0.3804, allocations: 6.548 MB / 0.6795 GB, free: 36.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.3822, allocations: 63.97 kB / 0.6795 GB, free: 36.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.3841, allocations: 0.7073 MB / 0.6802 GB, free: 36.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.3886, allocations: 1.621 MB / 0.6818 GB, free: 35.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.3919, allocations: 1.121 MB / 0.6829 GB, free: 34.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.3958, allocations: 2.559 MB / 0.6854 GB, free: 33.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.3971, allocations: 0.6532 MB / 0.6861 GB, free: 33.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.4001, allocations: 1.355 MB / 0.6874 GB, free: 32.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.4017, allocations: 0.7467 MB / 0.6881 GB, free: 32.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.4019, allocations: 68.59 kB / 0.6882 GB, free: 32.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.4043, allocations: 0.6872 MB / 0.6888 GB, free: 32.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004639/0.4048, allocations: 304.1 kB / 0.6891 GB, free: 32.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006872/0.4055, allocations: 363.9 kB / 0.6895 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.4087, allocations: 1.62 MB / 0.6911 GB, free: 31.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4087, allocations: 1.25 kB / 0.6911 GB, free: 31.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4087, allocations: 0 / 0.6911 GB, free: 31.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.4087, allocations: 0 / 0.6911 GB, free: 31.45 MB / 0.5606 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.003206/0.4119, allocations: 1.536 MB / 0.6926 GB, free: 30.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.412, allocations: 9.875 kB / 0.6926 GB, free: 30.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/0.4158, allocations: 0.5994 MB / 0.6932 GB, free: 30.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.4175, allocations: 0.7817 MB / 0.6939 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/0.4176, allocations: 61.61 kB / 0.694 GB, free: 29.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.4177, allocations: 71.53 kB / 0.694 GB, free: 29.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.4206, allocations: 1.101 MB / 0.6951 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.4207, allocations: 12.14 kB / 0.6951 GB, free: 29.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.4208, allocations: 33.11 kB / 0.6952 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.4208, allocations: 18.25 kB / 0.6952 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.4243, allocations: 1.013 MB / 0.6962 GB, free: 28.99 MB / 0.5606 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.005766/0.43, allocations: 4.139 MB / 0.7002 GB, free: 25.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.4332, allocations: 0.8818 MB / 0.7011 GB, free: 25.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.4347, allocations: 469.7 kB / 0.7015 GB, free: 25.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007921/0.4355, allocations: 168.6 kB / 0.7017 GB, free: 25.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.4373, allocations: 0.5779 MB / 0.7022 GB, free: 25.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 4.479e-06/0.4373, allocations: 4 kB / 0.7023 GB, free: 25.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005315/0.4426, allocations: 1.502 MB / 0.7037 GB, free: 24.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4427, allocations: 61.91 kB / 0.7038 GB, free: 24.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.4443, allocations: 1.074 MB / 0.7048 GB, free: 24.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.612e-05/0.4444, allocations: 47.19 kB / 0.7049 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.4448, allocations: 0.5679 MB / 0.7054 GB, free: 23.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.445, allocations: 214.8 kB / 0.7056 GB, free: 23.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.4453, allocations: 164.3 kB / 0.7058 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.4454, allocations: 339.3 kB / 0.7061 GB, free: 23.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.4469, allocations: 458.1 kB / 0.7065 GB, free: 23.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.4487, allocations: 0.9479 MB / 0.7075 GB, free: 22.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.4517, allocations: 1.128 MB / 0.7086 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.4517, allocations: 2.75 kB / 0.7086 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003959/0.4557, allocations: 1.283 MB / 0.7098 GB, free: 21.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.4557, allocations: 12.12 kB / 0.7098 GB, free: 21.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.4557, allocations: 8.688 kB / 0.7099 GB, free: 21.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.743e-05/0.4558, allocations: 11.72 kB / 0.7099 GB, free: 21.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.457, allocations: 277.4 kB / 0.7101 GB, free: 21.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.4571, allocations: 11.38 kB / 0.7101 GB, free: 21.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.4586, allocations: 171.7 kB / 0.7103 GB, free: 21.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.4587, allocations: 55.25 kB / 0.7104 GB, free: 21.3 MB / 0.5606 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.0007079/0.4594, allocations: 298.4 kB / 0.7106 GB, free: 21.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.4596, allocations: 115.6 kB / 0.7107 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003981/0.4636, allocations: 1.435 MB / 0.7122 GB, free: 20.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/0.4636, allocations: 11.52 kB / 0.7122 GB, free: 20.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.4636, allocations: 5.281 kB / 0.7122 GB, free: 20.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4637, allocations: 7.359 kB / 0.7122 GB, free: 20.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005274/0.4689, allocations: 2.255 MB / 0.7144 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.4689, allocations: 1.406 kB / 0.7144 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.47, allocations: 198.3 kB / 0.7146 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.47, allocations: 3.531 kB / 0.7146 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.4701, allocations: 26.41 kB / 0.7146 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.4701, allocations: 4.812 kB / 0.7146 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4701, allocations: 8.438 kB / 0.7146 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.4755, allocations: 2.063 MB / 0.7166 GB, free: 17.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/0.4761, allocations: 207.4 kB / 0.7168 GB, free: 17.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.4763, allocations: 18.91 kB / 0.7168 GB, free: 17.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009323/0.4772, allocations: 105 kB / 0.7169 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.4773, allocations: 57.45 kB / 0.717 GB, free: 17.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.643e-05/0.4774, allocations: 34.22 kB / 0.717 GB, free: 17.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009609/0.4784, allocations: 0.7277 MB / 0.7177 GB, free: 17.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4784, allocations: 0 / 0.7177 GB, free: 17.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001463/0.4799, allocations: 366.7 kB / 0.7181 GB, free: 16.98 MB / 0.5606 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.002299/0.4822, allocations: 0.688 MB / 0.7188 GB, free: 16.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003752/0.4859, allocations: 1.119 MB / 0.7199 GB, free: 16.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4859, allocations: 5.438 kB / 0.7199 GB, free: 16.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.4877, allocations: 0.5741 MB / 0.7204 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.4896, allocations: 375 kB / 0.7208 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.4947, allocations: 2.335 MB / 0.7231 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.4952, allocations: 0.5226 MB / 0.7236 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008924/0.4961, allocations: 233.7 kB / 0.7238 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.4964, allocations: 103.8 kB / 0.7239 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/0.4964, allocations: 1.219 kB / 0.7239 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.02973/0.5261, allocations: 18.77 MB / 0.7422 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.837953016161919] Failed to read output from testmodel.py, exit status != 0: 0.535700585693121 0.550062791 0.13817311299999996 Calling exit ...