Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 187.7 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.002413/0.002413, allocations: 298.4 kB / 307.1 MB, free: 8.336 MB / 238.1 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 1.178/1.178, allocations: 180.8 MB / 0.5304 GB, free: 14.43 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 104.9 kB / 0.7311 GB, free: 39.05 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1626, allocations: 94.21 MB / 0.8231 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2107/0.3733, allocations: 192.8 MB / 1.011 GB, free: 264 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4186/0.7919, allocations: 5.163 MB / 1.016 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.7933, allocations: 68.06 kB / 1.016 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.7954, allocations: 0.8295 MB / 1.017 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.8018, allocations: 2.731 MB / 1.02 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.8048, allocations: 1.161 MB / 1.021 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004543/0.8094, allocations: 2.718 MB / 1.024 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.811, allocations: 0.7586 MB / 1.025 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.8139, allocations: 1.162 MB / 1.026 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.8159, allocations: 1.062 MB / 1.027 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.8161, allocations: 87.16 kB / 1.027 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.8199, allocations: 1.501 MB / 1.028 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007276/0.8207, allocations: 464.9 kB / 1.029 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.822, allocations: 0.6671 MB / 1.029 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.8272, allocations: 2.144 MB / 1.031 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8272, allocations: 0 / 1.031 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8272, allocations: 2.062 kB / 1.031 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.951e-05/0.8273, allocations: 1.031 kB / 1.031 GB, free: 3.094 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00562/0.8329, allocations: 1.933 MB / 1.033 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8329, allocations: 9.625 kB / 1.033 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.8386, allocations: 0.9061 MB / 1.034 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.8405, allocations: 0.8979 MB / 1.035 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.8406, allocations: 69.66 kB / 1.035 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.8407, allocations: 95.53 kB / 1.035 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.8443, allocations: 1.582 MB / 1.037 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.8443, allocations: 7.125 kB / 1.037 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.8444, allocations: 34.94 kB / 1.037 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.8445, allocations: 46.61 kB / 1.037 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004868/0.8493, allocations: 1.848 MB / 1.039 GB, free: 1.621 MB / 0.7481 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.00735/0.8567, allocations: 4.667 MB / 1.043 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/0.861, allocations: 1.513 MB / 1.045 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.8631, allocations: 0.8144 MB / 1.045 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009224/0.8641, allocations: 213.2 kB / 1.046 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/0.8664, allocations: 0.907 MB / 1.047 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=95): time 3.006e-06/0.8664, allocations: 0 / 1.047 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=95): time 0.007559/0.874, allocations: 2.462 MB / 1.049 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.874, allocations: 63.09 kB / 1.049 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.8754, allocations: 1.201 MB / 1.05 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.8756, allocations: 43.89 kB / 1.05 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.8759, allocations: 0.5542 MB / 1.051 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.8762, allocations: 341.6 kB / 1.051 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/0.8765, allocations: 191.9 kB / 1.051 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8767, allocations: 340.9 kB / 1.052 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.8788, allocations: 0.7011 MB / 1.052 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.8811, allocations: 1.135 MB / 1.053 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.8852, allocations: 1.556 MB / 1.055 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.8852, allocations: 0 / 1.055 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004972/0.8902, allocations: 1.785 MB / 1.057 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.8902, allocations: 6.719 kB / 1.057 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8903, allocations: 4.844 kB / 1.057 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.8903, allocations: 8.188 kB / 1.057 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.892, allocations: 342.3 kB / 1.057 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.892, allocations: 11.47 kB / 1.057 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.8938, allocations: 244.4 kB / 1.057 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.8939, allocations: 48.11 kB / 1.057 GB, free: 13.67 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006027/0.8945, allocations: 331.2 kB / 1.058 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.8948, allocations: 147 kB / 1.058 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005092/0.8999, allocations: 1.84 MB / 1.06 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.8999, allocations: 10.94 kB / 1.06 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8999, allocations: 0 / 1.06 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.8999, allocations: 5.719 kB / 1.06 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007439/0.9073, allocations: 3.32 MB / 1.063 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.9073, allocations: 9.25 kB / 1.063 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.909, allocations: 298.9 kB / 1.063 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.909, allocations: 7.375 kB / 1.063 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/0.9091, allocations: 32.19 kB / 1.063 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.108e-06/0.9091, allocations: 17.8 kB / 1.063 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9091, allocations: 5 kB / 1.063 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007257/0.9163, allocations: 2.876 MB / 1.066 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.9172, allocations: 256.8 kB / 1.066 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.9175, allocations: 23.64 kB / 1.066 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/0.9191, allocations: 160.7 kB / 1.066 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.9193, allocations: 74.84 kB / 1.066 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/0.9194, allocations: 40.25 kB / 1.067 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001111/0.9205, allocations: 0.8378 MB / 1.067 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9205, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001323/0.9218, allocations: 343.2 kB / 1.068 GB, free: 12.15 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001813/0.9236, allocations: 0.5444 MB / 1.068 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005095/0.9287, allocations: 1.59 MB / 1.07 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.9287, allocations: 7.469 kB / 1.07 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.9313, allocations: 0.813 MB / 1.071 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.9345, allocations: 0.6142 MB / 1.071 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006838/0.9414, allocations: 3.027 MB / 1.074 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.9425, allocations: 1.185 MB / 1.075 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001569/0.944, allocations: 364.8 kB / 1.076 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.9445, allocations: 119.8 kB / 1.076 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of SimCode: time 1.142e-06/0.9445, allocations: 0 / 1.076 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of Templates: time 0.04379/0.9883, allocations: 24.73 MB / 1.1 GB, free: 7.137 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.327652730047703] Failed to read output from testmodel.py, exit status != 0: 0.9964134800247848 1.011018081 0.18064179700000002 Calling exit ...