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.001073/0.001073, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001349/0.001349, allocations: 169 kB / 23.02 MB, free: 1.551 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.9332/0.9332, allocations: 177.1 MB / 203.4 MB, free: 5.191 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.001606/0.001606, allocations: 232.2 kB / 260.2 MB, free: 12.71 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.7421/0.7421, allocations: 138.4 MB / 455.1 MB, free: 29.71 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 2.745e-06/2.745e-06, allocations: 4 kB / 0.5551 GB, free: 84 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.944e-05, allocations: 6.312 kB / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.008625/0.008644, allocations: 10.23 MB / 0.5651 GB, free: 5.805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005769/0.01441, allocations: 3.879 MB / 0.5689 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.01501, allocations: 71.38 kB / 0.569 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.01582, allocations: 0.5048 MB / 0.5695 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.01741, allocations: 1.072 MB / 0.5705 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.01913, allocations: 1.072 MB / 0.5716 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.02169, allocations: 2.57 MB / 0.5741 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.02262, allocations: 0.6821 MB / 0.5747 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.02388, allocations: 1.262 MB / 0.576 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.02445, allocations: 0.7088 MB / 0.5767 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.02453, allocations: 68 kB / 0.5767 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.02498, allocations: 279.5 kB / 0.577 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.02517, allocations: 294.7 kB / 0.5773 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.02543, allocations: 363 kB / 0.5776 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008458/0.02627, allocations: 1.004 MB / 0.5786 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.02628, allocations: 0 / 0.5786 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.02628, allocations: 0 / 0.5786 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.02629, allocations: 0 / 0.5786 GB, free: 7.941 MB / 0.4948 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.001569/0.02786, allocations: 1.586 MB / 0.5801 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.02791, allocations: 9.938 kB / 0.5802 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.02925, allocations: 0.5112 MB / 0.5807 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.03035, allocations: 0.8209 MB / 0.5815 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.03039, allocations: 58.38 kB / 0.5815 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.03048, allocations: 76.36 kB / 0.5816 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.03155, allocations: 0.9091 MB / 0.5825 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.03156, allocations: 0 / 0.5825 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.03161, allocations: 28 kB / 0.5825 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.03163, allocations: 20 kB / 0.5825 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/0.03222, allocations: 399.3 kB / 0.5829 GB, free: 3.332 MB / 0.4948 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.003591/0.03581, allocations: 5.011 MB / 0.5878 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.03661, allocations: 425.8 kB / 0.5882 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.03687, allocations: 185.1 kB / 0.5884 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.0371, allocations: 56.44 kB / 0.5884 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004188/0.03752, allocations: 303.7 kB / 0.5887 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 2.144e-06/0.03752, allocations: 0 / 0.5887 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.001042/0.03856, allocations: 0.6836 MB / 0.5894 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.0386, allocations: 63.91 kB / 0.5894 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.03931, allocations: 0.9423 MB / 0.5904 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.03937, allocations: 41.7 kB / 0.5904 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.0397, allocations: 0.6254 MB / 0.591 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.03984, allocations: 214.2 kB / 0.5912 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.04002, allocations: 172.2 kB / 0.5914 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.04017, allocations: 0.5082 MB / 0.5919 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.04043, allocations: 149.9 kB / 0.592 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.04097, allocations: 0.7443 MB / 0.5928 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.04163, allocations: 0.6497 MB / 0.5934 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.04164, allocations: 4 kB / 0.5934 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008897/0.04252, allocations: 0.7346 MB / 0.5941 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.04255, allocations: 8 kB / 0.5941 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.04256, allocations: 8 kB / 0.5941 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.04258, allocations: 15.94 kB / 0.5941 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.04306, allocations: 224.2 kB / 0.5944 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002977/0.04336, allocations: 15.92 kB / 0.5944 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.04371, allocations: 123.3 kB / 0.5945 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.04377, allocations: 43.98 kB / 0.5945 GB, free: 6.789 MB / 0.5105 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.0002157/0.04398, allocations: 230.2 kB / 0.5947 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.04411, allocations: 131.2 kB / 0.5949 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.04517, allocations: 0.7967 MB / 0.5957 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.04518, allocations: 19.92 kB / 0.5957 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.04519, allocations: 3.938 kB / 0.5957 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.0452, allocations: 3.984 kB / 0.5957 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.04689, allocations: 1.598 MB / 0.5972 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.04689, allocations: 0 / 0.5972 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.04728, allocations: 139.8 kB / 0.5974 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.04729, allocations: 4 kB / 0.5974 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.04733, allocations: 27.97 kB / 0.5974 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.04734, allocations: 4 kB / 0.5974 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.04734, allocations: 8 kB / 0.5974 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.04852, allocations: 1.071 MB / 0.5985 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.04873, allocations: 198.9 kB / 0.5987 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.04881, allocations: 16 kB / 0.5987 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.0491, allocations: 55.94 kB / 0.5987 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.04919, allocations: 60.5 kB / 0.5988 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.04923, allocations: 35.97 kB / 0.5988 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000417/0.04965, allocations: 0.578 MB / 0.5994 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.04965, allocations: 4 kB / 0.5994 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005176/0.05017, allocations: 283.4 kB / 0.5996 GB, free: 1.422 MB / 0.5105 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.001002/0.05117, allocations: 472.5 kB / 0.6001 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007158/0.05188, allocations: 0.5401 MB / 0.6006 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.05189, allocations: 0 / 0.6006 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.05224, allocations: 298.6 kB / 0.6009 GB, free: 268 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.05318, allocations: 403.8 kB / 0.6013 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.05613, allocations: 1.929 MB / 0.6032 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.05628, allocations: 232.5 kB / 0.6034 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004353/0.05671, allocations: 219.7 kB / 0.6036 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.05692, allocations: 108.4 kB / 0.6037 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.05692, allocations: 0 / 0.6037 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.02015/0.07707, allocations: 17.91 MB / 0.6212 GB, free: 11.82 MB / 0.5417 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.044298381078988]