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.0006416/0.0006416, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009245/0.001566, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00109/0.00109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002515, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9247/0.9247, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0855/1.01, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001251/0.001251, allocations: 222 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.002355, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6496/0.6496, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07342/0.7231, allocations: 42.4 MB / 426.7 MB, free: 5.832 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.633e-06/1.633e-06, allocations: 0 / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.962e-05, allocations: 6.25 kB / 428.1 MB, free: 4.445 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.1896/0.1897, allocations: 10.2 MB / 438.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.1958, allocations: 3.981 MB / 442.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009743/0.1968, allocations: 65.78 kB / 442.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.1977, allocations: 0.5171 MB / 442.9 MB, free: 13.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.1996, allocations: 1.073 MB / 443.9 MB, free: 12.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.2016, allocations: 1.056 MB / 445 MB, free: 12.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.2046, allocations: 2.53 MB / 447.5 MB, free: 10.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.2057, allocations: 0.6775 MB / 448.2 MB, free: 10.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.2077, allocations: 1.366 MB / 449.6 MB, free: 9.668 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.2085, allocations: 0.6581 MB / 450.2 MB, free: 9.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2086, allocations: 66.09 kB / 450.3 MB, free: 9.332 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.2093, allocations: 278.2 kB / 450.6 MB, free: 9.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.2095, allocations: 243.5 kB / 450.8 MB, free: 9.129 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.2098, allocations: 303.5 kB / 451.1 MB, free: 9.078 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.211, allocations: 0.9189 MB / 452 MB, free: 8.621 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.211, allocations: 1.5 kB / 452 MB, free: 8.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.211, allocations: 0.75 kB / 452 MB, free: 8.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.827e-05/0.211, allocations: 0 / 452 MB, free: 8.621 MB / 426.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.001905/0.2129, allocations: 1.78 MB / 453.8 MB, free: 6.855 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.213, allocations: 12.03 kB / 453.8 MB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.2141, allocations: 446.9 kB / 454.2 MB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008509/0.215, allocations: 0.7422 MB / 455 MB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.215, allocations: 59.81 kB / 455 MB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.2151, allocations: 72.38 kB / 455.1 MB, free: 5.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008466/0.2159, allocations: 0.8005 MB / 455.9 MB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2159, allocations: 11.88 kB / 455.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.216, allocations: 29.88 kB / 456 MB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.216, allocations: 27.92 kB / 456 MB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.2164, allocations: 288.6 kB / 456.3 MB, free: 4.281 MB / 426.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.002456/0.2188, allocations: 3.34 MB / 459.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.2194, allocations: 388.6 kB / 460 MB, free: 448 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.2195, allocations: 135.5 kB / 460.1 MB, free: 312 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.2197, allocations: 58.39 kB / 460.2 MB, free: 256 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.22, allocations: 271.7 kB / 460.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 3.066e-06/0.22, allocations: 0 / 460.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.0005699/0.2206, allocations: 423.9 kB / 460.9 MB, free: 15.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2206, allocations: 60.47 kB / 460.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.2211, allocations: 0.8584 MB / 461.8 MB, free: 14.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.2212, allocations: 41.7 kB / 461.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.2214, allocations: 412 kB / 462.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2215, allocations: 218.2 kB / 462.4 MB, free: 13.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2216, allocations: 158.5 kB / 462.6 MB, free: 13.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.2217, allocations: 337.9 kB / 462.9 MB, free: 13.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2218, allocations: 109.8 kB / 463 MB, free: 13.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.2222, allocations: 0.6011 MB / 463.6 MB, free: 12.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.2226, allocations: 0.5251 MB / 464.1 MB, free: 11.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2226, allocations: 4.844 kB / 464.1 MB, free: 11.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005519/0.2232, allocations: 0.5158 MB / 464.7 MB, free: 11.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2232, allocations: 8 kB / 464.7 MB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.2232, allocations: 8 kB / 464.7 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2232, allocations: 14.06 kB / 464.7 MB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.2237, allocations: 252.5 kB / 464.9 MB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2237, allocations: 15.94 kB / 465 MB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.2241, allocations: 119.5 kB / 465.1 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.2241, allocations: 35.98 kB / 465.1 MB, free: 11.01 MB / 442.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.0001773/0.2243, allocations: 178.3 kB / 465.3 MB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.2244, allocations: 84.69 kB / 465.4 MB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/0.2251, allocations: 0.5923 MB / 466 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.2251, allocations: 12.92 kB / 466 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.2251, allocations: 0 / 466 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2251, allocations: 9.609 kB / 466 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2263, allocations: 1.135 MB / 467.1 MB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.2263, allocations: 4 kB / 467.1 MB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.2267, allocations: 173.9 kB / 467.3 MB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2269, allocations: 155.5 kB / 467.4 MB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2269, allocations: 4 kB / 467.4 MB, free: 8.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.2269, allocations: 25.03 kB / 467.5 MB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2269, allocations: 4 kB / 467.5 MB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2269, allocations: 0 / 467.5 MB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.2277, allocations: 0.7832 MB / 468.3 MB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.2277, allocations: 25.69 kB / 468.3 MB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.228, allocations: 53.56 kB / 468.3 MB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.2281, allocations: 53.44 kB / 468.4 MB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.2281, allocations: 28.69 kB / 468.4 MB, free: 7.652 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002816/0.2284, allocations: 438.5 kB / 468.8 MB, free: 7.215 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2284, allocations: 0 / 468.8 MB, free: 7.215 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000519/0.2289, allocations: 283.5 kB / 469.1 MB, free: 6.938 MB / 442.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.001342/0.2303, allocations: 0.6302 MB / 469.7 MB, free: 6.633 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005199/0.2308, allocations: 453.9 kB / 470.2 MB, free: 6.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/0.2308, allocations: 16 kB / 470.2 MB, free: 6.172 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.2311, allocations: 305.5 kB / 470.5 MB, free: 5.871 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.2326, allocations: 2.409 MB / 472.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.239, allocations: 1.855 MB / 474.8 MB, free: 1.148 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2391, allocations: 228.5 kB / 475 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.2396, allocations: 192.8 kB / 475.2 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005651/0.2402, allocations: 352 kB / 475.5 MB, free: 420 kB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2402, allocations: 0 / 475.5 MB, free: 420 kB / 442.7 MB Notification: Performance of Templates: time 0.02131/0.2615, allocations: 18.39 MB / 493.9 MB, free: 14.69 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.8045796304941177]