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.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.001357/0.001357, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001412/0.001412, allocations: 212.1 kB / 22.99 MB, free: 4.941 MB / 14.72 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.002449/0.002449, allocations: 286.9 kB / 313.5 MB, free: 2.719 MB / 238.1 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 1.157/1.157, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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 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,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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 105 kB / 0.7407 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1916, allocations: 95.39 MB / 0.8339 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6791/0.8708, allocations: 171.4 MB / 1.001 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009831/0.8806, allocations: 5.024 MB / 1.006 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.8823, allocations: 64.91 kB / 1.006 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.8845, allocations: 0.8012 MB / 1.007 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007934/0.8925, allocations: 2.727 MB / 1.01 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.8954, allocations: 1.036 MB / 1.011 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003701/0.8991, allocations: 2.732 MB / 1.013 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.9002, allocations: 0.7504 MB / 1.014 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.9022, allocations: 1.17 MB / 1.015 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.9034, allocations: 1.023 MB / 1.016 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.9036, allocations: 87.41 kB / 1.016 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.9064, allocations: 1.491 MB / 1.018 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.9069, allocations: 471.2 kB / 1.018 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005721/0.9074, allocations: 0.5498 MB / 1.019 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002837/0.9103, allocations: 2.186 MB / 1.021 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.9103, allocations: 0.9375 kB / 1.021 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9103, allocations: 0 / 1.021 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.9103, allocations: 0 / 1.021 GB, free: 3.129 MB / 0.7169 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.004568/0.9149, allocations: 1.956 MB / 1.023 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.9149, allocations: 13.08 kB / 1.023 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.92, allocations: 0.9044 MB / 1.024 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.9216, allocations: 0.8791 MB / 1.025 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.9216, allocations: 70.84 kB / 1.025 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.9218, allocations: 92.33 kB / 1.025 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.9251, allocations: 1.592 MB / 1.026 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.9251, allocations: 0 / 1.026 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.9252, allocations: 40.47 kB / 1.026 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.9252, allocations: 51.55 kB / 1.026 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.9298, allocations: 1.857 MB / 1.028 GB, free: 17.63 MB / 0.7325 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.006573/0.9363, allocations: 3.79 MB / 1.032 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.9403, allocations: 1.523 MB / 1.033 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.9424, allocations: 0.8232 MB / 1.034 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008525/0.9433, allocations: 199 kB / 1.034 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/0.9455, allocations: 0.9258 MB / 1.035 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 4.879e-06/0.9455, allocations: 0 / 1.035 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007082/0.9526, allocations: 2.474 MB / 1.038 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.9527, allocations: 61.44 kB / 1.038 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.9538, allocations: 1.049 MB / 1.039 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.9539, allocations: 49.2 kB / 1.039 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.9543, allocations: 0.5694 MB / 1.039 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.9545, allocations: 345.1 kB / 1.04 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.9548, allocations: 185.8 kB / 1.04 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9549, allocations: 347 kB / 1.04 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.9569, allocations: 0.7053 MB / 1.041 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.9592, allocations: 1.142 MB / 1.042 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/0.9632, allocations: 1.568 MB / 1.043 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.9632, allocations: 5.25 kB / 1.044 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004571/0.9678, allocations: 1.782 MB / 1.045 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.9678, allocations: 12.34 kB / 1.045 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.9678, allocations: 4.75 kB / 1.045 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.9678, allocations: 11 kB / 1.045 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.9695, allocations: 336 kB / 1.046 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.9695, allocations: 13.56 kB / 1.046 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.971, allocations: 220.3 kB / 1.046 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.9711, allocations: 46.5 kB / 1.046 GB, free: 14.19 MB / 0.7325 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.0005874/0.9717, allocations: 336.3 kB / 1.046 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.9718, allocations: 127.5 kB / 1.046 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/0.9765, allocations: 1.848 MB / 1.048 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.9765, allocations: 11.34 kB / 1.048 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9765, allocations: 0 / 1.048 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.9765, allocations: 8.828 kB / 1.048 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006818/0.9834, allocations: 3.139 MB / 1.051 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.9834, allocations: 5.438 kB / 1.051 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.985, allocations: 296.8 kB / 1.051 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.985, allocations: 7.156 kB / 1.051 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/0.9851, allocations: 38.09 kB / 1.052 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.9851, allocations: 9.938 kB / 1.052 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9851, allocations: 5.188 kB / 1.052 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/0.9925, allocations: 2.9 MB / 1.054 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/0.9932, allocations: 239.9 kB / 1.055 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.9934, allocations: 28.08 kB / 1.055 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9947, allocations: 158.6 kB / 1.055 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.9949, allocations: 79.81 kB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/0.995, allocations: 44.03 kB / 1.055 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008904/0.9959, allocations: 0.7213 MB / 1.056 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9959, allocations: 0 / 1.056 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009968/0.9969, allocations: 372.1 kB / 1.056 GB, free: 10.79 MB / 0.7325 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 (101): * Single equations (assignments): 95 * 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.001845/0.9987, allocations: 0.5591 MB / 1.056 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004656/1.003, allocations: 1.611 MB / 1.058 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.003, allocations: 3.312 kB / 1.058 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.006, allocations: 0.8368 MB / 1.059 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.008, allocations: 491.1 kB / 1.059 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/1.014, allocations: 3.082 MB / 1.062 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/1.015, allocations: 0.6097 MB / 1.063 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/1.015, allocations: 122.3 kB / 1.063 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.015, allocations: 0 / 1.063 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of Templates: time 0.02958/1.045, allocations: 20.6 MB / 1.083 GB, free: 5.91 MB / 0.7481 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.4775199922733] Failed to read output from testmodel.py, exit status != 0: 1.0524317570962012 1.067091412 0.153536117 Calling exit ...