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.0009662/0.0009662, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.000867/0.0008671, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 269.9 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000658/0.0006582, allocations: 13.31 kB / 0.5987 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5604/0.7837, allocations: 189 MB / 0.8697 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00905/0.7928, allocations: 5.136 MB / 0.8747 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.7946, allocations: 45.38 kB / 0.8747 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.7969, allocations: 0.7104 MB / 0.8754 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00687/0.8037, allocations: 2.459 MB / 0.8778 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.8065, allocations: 0.9968 MB / 0.8788 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004114/0.8106, allocations: 3.606 MB / 0.8823 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.812, allocations: 0.8538 MB / 0.8832 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.8139, allocations: 1.002 MB / 0.8841 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.8153, allocations: 0.9922 MB / 0.8851 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.8154, allocations: 48 kB / 0.8852 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.8189, allocations: 2.069 MB / 0.8872 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004572/0.8194, allocations: 414.6 kB / 0.8876 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006844/0.8201, allocations: 0.6464 MB / 0.8882 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.8233, allocations: 2.239 MB / 0.8904 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8233, allocations: 3.938 kB / 0.8904 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8233, allocations: 3.938 kB / 0.8904 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.8233, allocations: 0 / 0.8904 GB, free: 13.62 MB / 0.6075 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.004697/0.828, allocations: 1.701 MB / 0.8921 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.8281, allocations: 12.03 kB / 0.8921 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/0.8337, allocations: 0.9268 MB / 0.893 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.8353, allocations: 0.9059 MB / 0.8939 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.8354, allocations: 66 kB / 0.8939 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.8356, allocations: 95.98 kB / 0.894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.8393, allocations: 1.579 MB / 0.8956 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.8393, allocations: 3.984 kB / 0.8956 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.8394, allocations: 39.98 kB / 0.8956 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/0.8395, allocations: 49.98 kB / 0.8956 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/0.8447, allocations: 1.842 MB / 0.8974 GB, free: 6.254 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.007585/0.8523, allocations: 4.758 MB / 0.9021 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.8566, allocations: 1.58 MB / 0.9036 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.8589, allocations: 0.8524 MB / 0.9045 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.8602, allocations: 0.9569 MB / 0.9054 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002431/0.8626, allocations: 0.9066 MB / 0.9063 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 4.659e-06/0.8626, allocations: 0 / 0.9063 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007507/0.8702, allocations: 2.45 MB / 0.9087 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.8703, allocations: 72.33 kB / 0.9087 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.8718, allocations: 1.193 MB / 0.9099 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.8719, allocations: 45.7 kB / 0.91 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.8724, allocations: 0.5409 MB / 0.9105 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.8727, allocations: 327.3 kB / 0.9108 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.8729, allocations: 81.67 kB / 0.9109 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.873, allocations: 349.9 kB / 0.9112 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.8751, allocations: 0.6928 MB / 0.9119 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.8774, allocations: 0.9075 MB / 0.9128 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004142/0.8815, allocations: 1.55 MB / 0.9143 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.8815, allocations: 3.938 kB / 0.9143 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004866/0.8864, allocations: 1.768 MB / 0.916 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.8865, allocations: 12.09 kB / 0.916 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8865, allocations: 4 kB / 0.916 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.8865, allocations: 8 kB / 0.916 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.8882, allocations: 343.5 kB / 0.9164 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.8883, allocations: 19.92 kB / 0.9164 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.8899, allocations: 254.6 kB / 0.9166 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.89, allocations: 48.06 kB / 0.9167 GB, free: 1.934 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.0005334/0.8906, allocations: 341 kB / 0.917 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.8908, allocations: 130.4 kB / 0.9171 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/0.8958, allocations: 1.803 MB / 0.9189 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8959, allocations: 12 kB / 0.9189 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8959, allocations: 0 / 0.9189 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.8959, allocations: 7.969 kB / 0.9189 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007119/0.903, allocations: 3.332 MB / 0.9222 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.9031, allocations: 4.5 kB / 0.9222 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.9047, allocations: 283.6 kB / 0.9224 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.9048, allocations: 11.98 kB / 0.9224 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.342e-05/0.9049, allocations: 39.91 kB / 0.9225 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.9049, allocations: 8 kB / 0.9225 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9049, allocations: 4 kB / 0.9225 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00731/0.9122, allocations: 2.839 MB / 0.9253 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.9129, allocations: 331.1 kB / 0.9256 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.9131, allocations: 27.98 kB / 0.9256 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.9146, allocations: 175.8 kB / 0.9258 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.9147, allocations: 68.45 kB / 0.9258 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-05/0.9148, allocations: 39.97 kB / 0.9259 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001037/0.9159, allocations: 0.8353 MB / 0.9267 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9159, allocations: 0 / 0.9267 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001069/0.917, allocations: 339.6 kB / 0.927 GB, free: 7.121 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.001198/0.9182, allocations: 0.5316 MB / 0.9275 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004742/0.9229, allocations: 1.622 MB / 0.9291 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9229, allocations: 0 / 0.9291 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.9252, allocations: 0.8322 MB / 0.9299 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/0.9288, allocations: 0.6019 MB / 0.9305 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/0.9354, allocations: 3.514 MB / 0.934 GB, free: 112 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/0.9363, allocations: 1.187 MB / 0.9351 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001657/0.9379, allocations: 362 kB / 0.9355 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.9384, allocations: 119.4 kB / 0.9356 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.9384, allocations: 3.938 kB / 0.9356 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.03669/0.9751, allocations: 22.58 MB / 0.9576 GB, free: 8.16 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)