Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.004807/0.004807, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001127/0.001127, allocations: 193 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 71.91 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2176, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7072/0.9249, allocations: 194.1 MB / 1.018 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009973/0.9349, allocations: 5.147 MB / 1.023 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.9367, allocations: 47 kB / 1.023 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.9393, allocations: 0.827 MB / 1.024 GB, free: 0.9727 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007529/0.9468, allocations: 2.664 MB / 1.026 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.9501, allocations: 1.121 MB / 1.027 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003767/0.9539, allocations: 2.66 MB / 1.03 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.9557, allocations: 0.9445 MB / 1.031 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.9583, allocations: 1.161 MB / 1.032 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.9602, allocations: 0.9916 MB / 1.033 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.9606, allocations: 87.44 kB / 1.033 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.9648, allocations: 1.807 MB / 1.035 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008087/0.9657, allocations: 454.6 kB / 1.035 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.9673, allocations: 0.673 MB / 1.036 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.9726, allocations: 2.242 MB / 1.038 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.9726, allocations: 0 / 1.038 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9726, allocations: 0 / 1.038 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.984e-05/0.9727, allocations: 4 kB / 1.038 GB, free: 5.707 MB / 0.7794 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.0064/0.9791, allocations: 1.969 MB / 1.04 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.9792, allocations: 12.03 kB / 1.04 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.9846, allocations: 0.9032 MB / 1.041 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.9867, allocations: 0.9879 MB / 1.042 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.9868, allocations: 73.98 kB / 1.042 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.9871, allocations: 88 kB / 1.042 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.9909, allocations: 1.583 MB / 1.043 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.9909, allocations: 0 / 1.043 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.9911, allocations: 35.98 kB / 1.044 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/0.9911, allocations: 45.94 kB / 1.044 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.9963, allocations: 1.846 MB / 1.045 GB, free: 14.01 MB / 0.795 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.008432/1.005, allocations: 4.761 MB / 1.05 GB, free: 9.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004157/1.009, allocations: 1.552 MB / 1.052 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/1.011, allocations: 0.8546 MB / 1.052 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.012, allocations: 0.9452 MB / 1.053 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002422/1.015, allocations: 0.9104 MB / 1.054 GB, free: 4.551 MB / 0.795 GB Notification: Performance of pre-optimization done (n=95): time 3.617e-06/1.015, allocations: 0 / 1.054 GB, free: 4.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=95): time 0.007716/1.023, allocations: 2.454 MB / 1.057 GB, free: 2.086 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.023, allocations: 64.41 kB / 1.057 GB, free: 2.012 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/1.024, allocations: 1.206 MB / 1.058 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/1.025, allocations: 45.7 kB / 1.058 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/1.025, allocations: 0.5488 MB / 1.058 GB, free: 196 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/1.025, allocations: 327.5 kB / 1.059 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/1.026, allocations: 190.5 kB / 1.059 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.026, allocations: 345.9 kB / 1.059 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.028, allocations: 0.7006 MB / 1.06 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/1.03, allocations: 0.9294 MB / 1.061 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/1.034, allocations: 1.554 MB / 1.062 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.034, allocations: 4 kB / 1.062 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004959/1.039, allocations: 1.78 MB / 1.064 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/1.039, allocations: 8.438 kB / 1.064 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.039, allocations: 7.938 kB / 1.064 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/1.039, allocations: 15.98 kB / 1.064 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.041, allocations: 335.5 kB / 1.064 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/1.041, allocations: 15.98 kB / 1.064 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.043, allocations: 241.5 kB / 1.065 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.043, allocations: 47.97 kB / 1.065 GB, free: 9.559 MB / 0.8106 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.0007056/1.044, allocations: 336.3 kB / 1.065 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/1.044, allocations: 138.2 kB / 1.065 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/1.049, allocations: 1.801 MB / 1.067 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.049, allocations: 12 kB / 1.067 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.049, allocations: 3.938 kB / 1.067 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.049, allocations: 7.984 kB / 1.067 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007521/1.057, allocations: 3.325 MB / 1.07 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.057, allocations: 12 kB / 1.07 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.058, allocations: 291.5 kB / 1.07 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/1.058, allocations: 8 kB / 1.07 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.059, allocations: 31.97 kB / 1.071 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.059, allocations: 11.98 kB / 1.071 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.059, allocations: 7.938 kB / 1.071 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/1.066, allocations: 2.84 MB / 1.073 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/1.066, allocations: 327.1 kB / 1.074 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/1.067, allocations: 24 kB / 1.074 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.068, allocations: 155.8 kB / 1.074 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.068, allocations: 76.5 kB / 1.074 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.068, allocations: 43.91 kB / 1.074 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001228/1.07, allocations: 0.8396 MB / 1.075 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3e-07/1.07, allocations: 0 / 1.075 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001212/1.071, allocations: 339.6 kB / 1.075 GB, free: 14.76 MB / 0.8262 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.001355/1.072, allocations: 0.5353 MB / 1.076 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004701/1.077, allocations: 1.63 MB / 1.077 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.077, allocations: 0 / 1.077 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002267/1.079, allocations: 0.8399 MB / 1.078 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/1.082, allocations: 0.6442 MB / 1.079 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/1.089, allocations: 2.975 MB / 1.082 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/1.09, allocations: 1.195 MB / 1.083 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001483/1.091, allocations: 362.2 kB / 1.083 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/1.092, allocations: 115.4 kB / 1.083 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of SimCode: time 8.42e-07/1.092, allocations: 4 kB / 1.083 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.04485/1.137, allocations: 24.45 MB / 1.107 GB, free: 14.45 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)