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.0007802/0.0007802, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009104/0.0009104, allocations: 181 kB / 23.36 MB, free: 1.133 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.9994/0.9994, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.001748/0.001748, allocations: 245.6 kB / 260.5 MB, free: 12.7 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.7477/0.7477, allocations: 138.4 MB / 402.2 MB, free: 0.5156 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.703e-06/1.703e-06, allocations: 0 / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.66e-05, allocations: 3.812 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.008193/0.00821, allocations: 10.18 MB / 472.6 MB, free: 8.363 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004592/0.0128, allocations: 3.935 MB / 476.5 MB, free: 4.453 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.01313, allocations: 67.38 kB / 476.6 MB, free: 4.387 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.01383, allocations: 0.5159 MB / 477.1 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.01501, allocations: 1.069 MB / 478.2 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.01628, allocations: 1.064 MB / 479.2 MB, free: 1.738 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.01797, allocations: 2.549 MB / 481.8 MB, free: 15.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.01858, allocations: 0.6606 MB / 482.4 MB, free: 14.51 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009913/0.01957, allocations: 1.249 MB / 483.7 MB, free: 13.26 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.02011, allocations: 0.6595 MB / 484.3 MB, free: 12.6 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.762e-05/0.02019, allocations: 68.75 kB / 484.4 MB, free: 12.53 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.02055, allocations: 287.5 kB / 484.7 MB, free: 12.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.02074, allocations: 299.3 kB / 485 MB, free: 11.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.02098, allocations: 364.2 kB / 485.3 MB, free: 11.6 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007738/0.02176, allocations: 1 MB / 486.3 MB, free: 10.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.02176, allocations: 0 / 486.3 MB, free: 10.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.02176, allocations: 0 / 486.3 MB, free: 10.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.02177, allocations: 5.344 kB / 486.3 MB, free: 10.59 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.001325/0.02309, allocations: 1.449 MB / 487.8 MB, free: 9.121 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.02312, allocations: 12.75 kB / 487.8 MB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.02428, allocations: 436.7 kB / 488.2 MB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.02504, allocations: 0.7533 MB / 489 MB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.02508, allocations: 55.81 kB / 489 MB, free: 7.848 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.02516, allocations: 78.02 kB / 489.1 MB, free: 7.773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.02599, allocations: 0.7998 MB / 489.9 MB, free: 6.895 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.02601, allocations: 5.281 kB / 489.9 MB, free: 6.891 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.02605, allocations: 28 kB / 489.9 MB, free: 6.863 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.02607, allocations: 20 kB / 490 MB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.02645, allocations: 293 kB / 490.2 MB, free: 6.562 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.002392/0.02884, allocations: 3.333 MB / 493.6 MB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.02939, allocations: 402.2 kB / 494 MB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.02956, allocations: 132 kB / 494.1 MB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.02972, allocations: 53.42 kB / 494.2 MB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.03002, allocations: 278.5 kB / 494.4 MB, free: 2.254 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 2.033e-06/0.03002, allocations: 0.9375 kB / 494.4 MB, free: 2.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.0005916/0.03061, allocations: 420.8 kB / 494.8 MB, free: 1.844 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.03064, allocations: 63.89 kB / 494.9 MB, free: 1.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.03117, allocations: 0.855 MB / 495.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.03122, allocations: 37.7 kB / 495.8 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.03141, allocations: 419.3 kB / 496.2 MB, free: 452 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.03152, allocations: 214.2 kB / 496.4 MB, free: 236 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.03168, allocations: 158.5 kB / 496.6 MB, free: 72 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.03177, allocations: 342.5 kB / 496.9 MB, free: 15.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.03193, allocations: 106.3 kB / 497 MB, free: 15.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.03226, allocations: 0.5895 MB / 497.6 MB, free: 14.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.03272, allocations: 0.5038 MB / 498.1 MB, free: 14.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.03273, allocations: 4 kB / 498.1 MB, free: 14.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005771/0.0333, allocations: 0.5113 MB / 498.6 MB, free: 13.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.03332, allocations: 14.09 kB / 498.6 MB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.03333, allocations: 4 kB / 498.6 MB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.03335, allocations: 15.94 kB / 498.6 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.03385, allocations: 234.5 kB / 498.9 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.03386, allocations: 23.86 kB / 498.9 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.0342, allocations: 120.5 kB / 499 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.03426, allocations: 37.8 kB / 499.1 MB, free: 13.33 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.0001822/0.03444, allocations: 176.2 kB / 499.2 MB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.03453, allocations: 79.92 kB / 499.3 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.03527, allocations: 0.5847 MB / 499.9 MB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.03528, allocations: 11.98 kB / 499.9 MB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.03528, allocations: 1.062 kB / 499.9 MB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.03529, allocations: 12.95 kB / 499.9 MB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.03648, allocations: 1.141 MB / 0.4893 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.03649, allocations: 4 kB / 0.4893 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.03689, allocations: 151.7 kB / 0.4895 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.0369, allocations: 8.438 kB / 0.4895 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.03694, allocations: 24.72 kB / 0.4895 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.03694, allocations: 5.938 kB / 0.4895 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.03694, allocations: 4 kB / 0.4895 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.03774, allocations: 0.776 MB / 0.4903 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.03792, allocations: 147 kB / 0.4904 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.038, allocations: 25.17 kB / 0.4904 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.03829, allocations: 57.14 kB / 0.4905 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.03837, allocations: 61.67 kB / 0.4905 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.03841, allocations: 23.97 kB / 0.4906 GB, free: 9.992 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.03871, allocations: 433.8 kB / 0.491 GB, free: 9.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03871, allocations: 0 / 0.491 GB, free: 9.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004651/0.03917, allocations: 284.1 kB / 0.4912 GB, free: 9.281 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.001335/0.04051, allocations: 0.5883 MB / 0.4918 GB, free: 9.016 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.04103, allocations: 435.9 kB / 0.4922 GB, free: 8.594 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.04105, allocations: 13.5 kB / 0.4922 GB, free: 8.582 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.04131, allocations: 229.7 kB / 0.4925 GB, free: 8.359 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.04214, allocations: 408.6 kB / 0.4929 GB, free: 7.992 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.04434, allocations: 1.861 MB / 0.4947 GB, free: 6.086 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.04449, allocations: 228.5 kB / 0.4949 GB, free: 5.844 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004361/0.04493, allocations: 185.8 kB / 0.4951 GB, free: 5.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.04554, allocations: 355.9 kB / 0.4954 GB, free: 5.324 MB / 458.7 MB Notification: Performance of SimCode: time 6.22e-07/0.04554, allocations: 7.938 kB / 0.4954 GB, free: 5.316 MB / 458.7 MB Notification: Performance of Templates: time 0.01992/0.06546, allocations: 17.77 MB / 0.5128 GB, free: 4.137 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9179372219368815]