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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001261/0.001261, allocations: 193.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 295 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9814/0.9814, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 90.8 kB / 0.5945 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1639, allocations: 86.98 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.562/0.726, allocations: 191.5 MB / 0.8665 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008611/0.7346, allocations: 5.195 MB / 0.8715 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.736, allocations: 49.12 kB / 0.8716 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.7378, allocations: 0.7112 MB / 0.8723 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006287/0.7441, allocations: 2.449 MB / 0.8747 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.7467, allocations: 1.009 MB / 0.8757 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.7506, allocations: 3.613 MB / 0.8792 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.7522, allocations: 0.8677 MB / 0.88 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.7545, allocations: 1.016 MB / 0.881 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.7563, allocations: 1.024 MB / 0.882 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.7566, allocations: 54.84 kB / 0.8821 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.761, allocations: 2.083 MB / 0.8841 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.7617, allocations: 417.6 kB / 0.8845 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.763, allocations: 0.6398 MB / 0.8851 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.7679, allocations: 2.266 MB / 0.8874 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7679, allocations: 0 / 0.8874 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7679, allocations: 0 / 0.8874 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.08e-05/0.768, allocations: 0 / 0.8874 GB, free: 1.523 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.006819/0.7749, allocations: 1.961 MB / 0.8893 GB, free: 76 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7749, allocations: 10.5 kB / 0.8893 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/0.7805, allocations: 0.8934 MB / 0.8901 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.7825, allocations: 0.9126 MB / 0.891 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.7826, allocations: 67.56 kB / 0.8911 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.7828, allocations: 88.25 kB / 0.8912 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/0.7867, allocations: 1.587 MB / 0.8927 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.7867, allocations: 0 / 0.8927 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.7868, allocations: 32 kB / 0.8928 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.7869, allocations: 49.98 kB / 0.8928 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005094/0.792, allocations: 1.854 MB / 0.8946 GB, free: 11.65 MB / 0.6075 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.007806/0.7998, allocations: 4.74 MB / 0.8993 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.8045, allocations: 1.561 MB / 0.9008 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.8068, allocations: 0.8484 MB / 0.9016 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.8082, allocations: 0.9452 MB / 0.9025 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002566/0.8108, allocations: 0.9104 MB / 0.9034 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/0.8108, allocations: 3.938 kB / 0.9034 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007648/0.8184, allocations: 2.458 MB / 0.9058 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.8185, allocations: 60.41 kB / 0.9059 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.82, allocations: 1.193 MB / 0.907 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.8201, allocations: 49.7 kB / 0.9071 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.8205, allocations: 0.5409 MB / 0.9076 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.8208, allocations: 323.2 kB / 0.9079 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.8212, allocations: 190.5 kB / 0.9081 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8213, allocations: 345.9 kB / 0.9084 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.8234, allocations: 0.6966 MB / 0.9091 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.8257, allocations: 0.9152 MB / 0.91 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.83, allocations: 1.55 MB / 0.9115 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.83, allocations: 0 / 0.9115 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005132/0.8351, allocations: 1.784 MB / 0.9133 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.8352, allocations: 4 kB / 0.9133 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.8352, allocations: 9.016 kB / 0.9133 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.8352, allocations: 8.438 kB / 0.9133 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.837, allocations: 335.5 kB / 0.9136 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/0.837, allocations: 19.92 kB / 0.9136 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.8389, allocations: 258.7 kB / 0.9139 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.839, allocations: 47.97 kB / 0.9139 GB, free: 7.258 MB / 0.6231 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.0006525/0.8397, allocations: 330.4 kB / 0.9142 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.84, allocations: 134.3 kB / 0.9144 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006082/0.8461, allocations: 1.812 MB / 0.9161 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.8461, allocations: 11.94 kB / 0.9162 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.8461, allocations: 3.984 kB / 0.9162 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.8462, allocations: 3.984 kB / 0.9162 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008248/0.8544, allocations: 3.339 MB / 0.9194 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.8544, allocations: 4.875 kB / 0.9194 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/0.8565, allocations: 288 kB / 0.9197 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.8565, allocations: 8 kB / 0.9197 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.8566, allocations: 31.97 kB / 0.9197 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.8566, allocations: 15.94 kB / 0.9198 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8566, allocations: 4 kB / 0.9198 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007517/0.8642, allocations: 2.859 MB / 0.9225 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/0.8648, allocations: 315.2 kB / 0.9228 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.865, allocations: 23.98 kB / 0.9229 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.8666, allocations: 175.7 kB / 0.923 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.8668, allocations: 76.44 kB / 0.9231 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.8669, allocations: 43.91 kB / 0.9232 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001089/0.8679, allocations: 0.8315 MB / 0.924 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.868, allocations: 96 / 0.924 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001153/0.8691, allocations: 343.5 kB / 0.9243 GB, free: 12.43 MB / 0.6387 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 (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.001325/0.8704, allocations: 0.5231 MB / 0.9248 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004765/0.8752, allocations: 1.63 MB / 0.9264 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.8752, allocations: 0 / 0.9264 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.8775, allocations: 0.8322 MB / 0.9272 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.8802, allocations: 0.5919 MB / 0.9278 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/0.8868, allocations: 3.41 MB / 0.9311 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009989/0.8879, allocations: 1.183 MB / 0.9323 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001759/0.8896, allocations: 358 kB / 0.9326 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.8901, allocations: 115.4 kB / 0.9327 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/0.8901, allocations: 0 / 0.9327 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of Templates: time 0.03613/0.9263, allocations: 22.73 MB / 0.9549 GB, free: 13.45 MB / 0.67 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)