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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 90.98 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008386/0.0008385, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 271 kB / 291.4 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 12.62 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4404/0.5789, allocations: 176.3 MB / 0.8567 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007732/0.5867, allocations: 4.889 MB / 0.8614 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.5879, allocations: 45.94 kB / 0.8615 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.5893, allocations: 0.621 MB / 0.8621 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.5939, allocations: 1.885 MB / 0.8639 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.5961, allocations: 0.903 MB / 0.8648 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.5993, allocations: 3.074 MB / 0.8678 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.6004, allocations: 0.7775 MB / 0.8686 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.6022, allocations: 0.9984 MB / 0.8695 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.6035, allocations: 0.9474 MB / 0.8705 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.6036, allocations: 50.34 kB / 0.8705 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.6059, allocations: 0.9318 MB / 0.8714 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003925/0.6063, allocations: 403.6 kB / 0.8718 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.6067, allocations: 268.1 kB / 0.8721 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.6082, allocations: 1.391 MB / 0.8734 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6082, allocations: 0 / 0.8734 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6082, allocations: 0 / 0.8734 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.6082, allocations: 0 / 0.8734 GB, free: 13.38 MB / 0.5919 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.004332/0.6126, allocations: 1.722 MB / 0.8751 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6126, allocations: 8.781 kB / 0.8751 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005044/0.6177, allocations: 0.9213 MB / 0.876 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.6191, allocations: 0.8654 MB / 0.8769 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.6191, allocations: 76.48 kB / 0.8769 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.6193, allocations: 94.48 kB / 0.877 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.6227, allocations: 1.565 MB / 0.8785 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.6228, allocations: 7.953 kB / 0.8785 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.6229, allocations: 39.97 kB / 0.8786 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.623, allocations: 45.98 kB / 0.8786 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/0.6278, allocations: 1.838 MB / 0.8804 GB, free: 7.535 MB / 0.5919 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.007255/0.6351, allocations: 4.758 MB / 0.8851 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.6392, allocations: 1.58 MB / 0.8866 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/0.6414, allocations: 0.8485 MB / 0.8874 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.6427, allocations: 0.9608 MB / 0.8884 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002336/0.645, allocations: 0.895 MB / 0.8893 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.466e-06/0.645, allocations: 0 / 0.8893 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007212/0.6523, allocations: 2.446 MB / 0.8916 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.6523, allocations: 64.41 kB / 0.8917 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.6538, allocations: 1.185 MB / 0.8929 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.6539, allocations: 49.7 kB / 0.8929 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.6544, allocations: 0.5447 MB / 0.8934 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.6547, allocations: 323.4 kB / 0.8938 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.6548, allocations: 16 kB / 0.8938 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6549, allocations: 345.9 kB / 0.8941 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.6569, allocations: 0.6928 MB / 0.8948 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.6591, allocations: 0.9074 MB / 0.8957 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.6611, allocations: 0.7173 MB / 0.8964 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.6612, allocations: 7.953 kB / 0.8964 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004644/0.6658, allocations: 1.764 MB / 0.8981 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.6659, allocations: 8 kB / 0.8981 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6659, allocations: 4.438 kB / 0.8981 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.6659, allocations: 12 kB / 0.8981 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.6676, allocations: 339.5 kB / 0.8984 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.6677, allocations: 16 kB / 0.8985 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.6693, allocations: 250.7 kB / 0.8987 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.6694, allocations: 47.97 kB / 0.8987 GB, free: 4.227 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005547/0.67, allocations: 339.5 kB / 0.8991 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.6702, allocations: 134.4 kB / 0.8992 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/0.675, allocations: 1.799 MB / 0.9009 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.675, allocations: 15.94 kB / 0.901 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.675, allocations: 0 / 0.901 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.675, allocations: 3.984 kB / 0.901 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00686/0.6819, allocations: 3.336 MB / 0.9042 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.6819, allocations: 4 kB / 0.9042 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.6836, allocations: 288 kB / 0.9045 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.6836, allocations: 11.98 kB / 0.9045 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.6837, allocations: 31.97 kB / 0.9045 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.6837, allocations: 8 kB / 0.9046 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6837, allocations: 7.938 kB / 0.9046 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/0.6905, allocations: 2.832 MB / 0.9073 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006522/0.6912, allocations: 335.1 kB / 0.9076 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.6914, allocations: 20 kB / 0.9077 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.6928, allocations: 171.8 kB / 0.9078 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.6929, allocations: 76.45 kB / 0.9079 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/0.693, allocations: 39.97 kB / 0.9079 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001014/0.6941, allocations: 0.8236 MB / 0.9087 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6941, allocations: 3.938 kB / 0.9087 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001066/0.6951, allocations: 343.5 kB / 0.9091 GB, free: 9.422 MB / 0.6231 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/0.6964, allocations: 0.536 MB / 0.9096 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004527/0.7009, allocations: 1.623 MB / 0.9112 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.701, allocations: 4.062 kB / 0.9112 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.7032, allocations: 0.8241 MB / 0.912 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.706, allocations: 0.5899 MB / 0.9126 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/0.7121, allocations: 3.391 MB / 0.9159 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/0.7129, allocations: 1.187 MB / 0.917 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00173/0.7146, allocations: 362 kB / 0.9174 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.7151, allocations: 115.4 kB / 0.9175 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.7151, allocations: 0 / 0.9175 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of Templates: time 0.03387/0.749, allocations: 21.94 MB / 0.9389 GB, free: 11.23 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (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)