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.001281/0.001281, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.001543/0.001543, allocations: 176.9 kB / 23.36 MB, free: 1.125 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 1.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.001605/0.001605, allocations: 241.9 kB / 260.5 MB, free: 12.69 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.6683/0.6683, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.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.643e-06/1.643e-06, allocations: 2.375 kB / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.813e-05, allocations: 2.938 kB / 462.3 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.008764/0.008782, allocations: 10.12 MB / 472.5 MB, free: 8.488 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.0146, allocations: 3.951 MB / 476.4 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.01513, allocations: 67.38 kB / 476.5 MB, free: 4.496 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007813/0.01591, allocations: 0.5117 MB / 477 MB, free: 3.984 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.01737, allocations: 1.074 MB / 478.1 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.01895, allocations: 1.071 MB / 479.1 MB, free: 1.844 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.02094, allocations: 2.556 MB / 481.7 MB, free: 15.29 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006604/0.0216, allocations: 0.6858 MB / 482.4 MB, free: 14.58 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.02299, allocations: 1.264 MB / 483.6 MB, free: 13.32 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.02355, allocations: 0.6601 MB / 484.3 MB, free: 12.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-05/0.02363, allocations: 68 kB / 484.4 MB, free: 12.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.02404, allocations: 275.5 kB / 484.6 MB, free: 12.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.02424, allocations: 302.7 kB / 484.9 MB, free: 12.02 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.0245, allocations: 366.9 kB / 485.3 MB, free: 11.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008406/0.02534, allocations: 1.002 MB / 486.3 MB, free: 10.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02534, allocations: 0 / 486.3 MB, free: 10.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02534, allocations: 1.188 kB / 486.3 MB, free: 10.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.02535, allocations: 0 / 486.3 MB, free: 10.66 MB / 442.7 MB 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.001415/0.02677, allocations: 1.448 MB / 487.7 MB, free: 9.188 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.0268, allocations: 9.656 kB / 487.7 MB, free: 9.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.02793, allocations: 434 kB / 488.2 MB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.02877, allocations: 0.7521 MB / 488.9 MB, free: 7.973 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.02881, allocations: 58.38 kB / 489 MB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.0289, allocations: 76.36 kB / 489.1 MB, free: 7.844 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000892/0.0298, allocations: 0.7993 MB / 489.9 MB, free: 6.965 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.02981, allocations: 3.938 kB / 489.9 MB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.02987, allocations: 28.97 kB / 489.9 MB, free: 6.934 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.02988, allocations: 23.94 kB / 489.9 MB, free: 6.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.03027, allocations: 289.9 kB / 490.2 MB, free: 6.633 MB / 442.7 MB 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.002824/0.03309, allocations: 3.335 MB / 493.5 MB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.03366, allocations: 388.3 kB / 493.9 MB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.03383, allocations: 144.6 kB / 494 MB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.03401, allocations: 56.44 kB / 494.1 MB, free: 2.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.03433, allocations: 273.9 kB / 494.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 2.374e-06/0.03433, allocations: 0.7812 kB / 494.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.0006037/0.03493, allocations: 425 kB / 494.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.03497, allocations: 56.88 kB / 494.8 MB, free: 1.844 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.03551, allocations: 0.8578 MB / 495.7 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.03556, allocations: 41.7 kB / 495.7 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.03575, allocations: 414.9 kB / 496.1 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.03586, allocations: 212.2 kB / 496.4 MB, free: 312 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.03601, allocations: 162.5 kB / 496.5 MB, free: 144 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.03611, allocations: 341.9 kB / 496.8 MB, free: 15.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.03626, allocations: 101.3 kB / 496.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.0366, allocations: 0.5925 MB / 497.5 MB, free: 14.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.03731, allocations: 0.5112 MB / 498 MB, free: 14.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.03732, allocations: 4 kB / 498.1 MB, free: 14.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005604/0.03788, allocations: 0.5118 MB / 498.6 MB, free: 13.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.0379, allocations: 8.844 kB / 498.6 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.03791, allocations: 8 kB / 498.6 MB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.03793, allocations: 13.88 kB / 498.6 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.03838, allocations: 215.9 kB / 498.8 MB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.03839, allocations: 23.86 kB / 498.8 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.03872, allocations: 117.5 kB / 498.9 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.03878, allocations: 40.5 kB / 499 MB, free: 13.42 MB / 458.7 MB 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.0001819/0.03896, allocations: 180.7 kB / 499.2 MB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.03905, allocations: 79.91 kB / 499.2 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006905/0.03974, allocations: 0.5872 MB / 499.8 MB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.03975, allocations: 8 kB / 499.8 MB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.03975, allocations: 0 / 499.8 MB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.03976, allocations: 10.05 kB / 499.8 MB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.04093, allocations: 1.146 MB / 0.4892 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.04094, allocations: 4 kB / 0.4892 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.04129, allocations: 142.1 kB / 0.4894 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.0413, allocations: 7.938 kB / 0.4894 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.04133, allocations: 25.53 kB / 0.4894 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.04134, allocations: 4 kB / 0.4894 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.04134, allocations: 5.312 kB / 0.4894 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.04211, allocations: 0.7707 MB / 0.4902 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.04228, allocations: 155 kB / 0.4903 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.04236, allocations: 17.12 kB / 0.4903 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.04263, allocations: 59.31 kB / 0.4904 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.0427, allocations: 56.56 kB / 0.4905 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.04274, allocations: 27.97 kB / 0.4905 GB, free: 10.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002907/0.04303, allocations: 433.8 kB / 0.4909 GB, free: 9.652 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04303, allocations: 0.6562 kB / 0.4909 GB, free: 9.652 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004956/0.04352, allocations: 279.5 kB / 0.4912 GB, free: 9.379 MB / 458.7 MB 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.001203/0.04473, allocations: 0.5765 MB / 0.4917 GB, free: 9.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.04524, allocations: 451.7 kB / 0.4922 GB, free: 8.691 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.04525, allocations: 14.38 kB / 0.4922 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.0455, allocations: 229.6 kB / 0.4924 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.04635, allocations: 411 kB / 0.4928 GB, free: 8.098 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.04887, allocations: 1.858 MB / 0.4946 GB, free: 6.191 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.04902, allocations: 228.5 kB / 0.4948 GB, free: 5.949 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004308/0.04945, allocations: 191.6 kB / 0.495 GB, free: 5.773 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.05001, allocations: 351 kB / 0.4953 GB, free: 5.43 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/0.05001, allocations: 0 / 0.4953 GB, free: 5.43 MB / 458.7 MB Notification: Performance of Templates: time 0.02054/0.07055, allocations: 17.78 MB / 0.5127 GB, free: 4.242 MB / 474.7 MB " [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: 3.947532813064754]