Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006452/0.006451, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.0013/0.0013, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.563/1.563, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.00175/0.00175, allocations: 67.91 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2297, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7192/0.9489, allocations: 194.1 MB / 1.018 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009978/0.9589, allocations: 5.144 MB / 1.023 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.9607, allocations: 51.53 kB / 1.023 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.9628, allocations: 0.8091 MB / 1.024 GB, free: 0.9453 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.007204/0.97, allocations: 2.563 MB / 1.026 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.9732, allocations: 1.119 MB / 1.027 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.9766, allocations: 2.584 MB / 1.03 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.978, allocations: 0.9066 MB / 1.031 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.9803, allocations: 1.094 MB / 1.032 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.9817, allocations: 0.943 MB / 1.033 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.9818, allocations: 78.59 kB / 1.033 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.9853, allocations: 1.793 MB / 1.034 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004478/0.9858, allocations: 434.6 kB / 1.035 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007155/0.9865, allocations: 0.6526 MB / 1.035 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.9898, allocations: 2.184 MB / 1.038 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9898, allocations: 0 / 1.038 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.138e-06/0.9898, allocations: 0 / 1.038 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.9898, allocations: 3.938 kB / 1.038 GB, free: 6.164 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005041/0.9949, allocations: 1.945 MB / 1.039 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.9949, allocations: 12.03 kB / 1.039 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00405/0.999, allocations: 0.6576 MB / 1.04 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/1.001, allocations: 0.9568 MB / 1.041 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/1.001, allocations: 70 kB / 1.041 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/1.001, allocations: 95.83 kB / 1.041 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/1.004, allocations: 1.478 MB / 1.043 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.004, allocations: 3.938 kB / 1.043 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.004, allocations: 36 kB / 1.043 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/1.004, allocations: 49.92 kB / 1.043 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004171/1.009, allocations: 1.522 MB / 1.044 GB, free: 15.14 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.007299/1.016, allocations: 5.476 MB / 1.05 GB, free: 9.387 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003797/1.02, allocations: 1.284 MB / 1.051 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/1.022, allocations: 0.6631 MB / 1.051 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009325/1.023, allocations: 0.5812 MB / 1.052 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/1.024, allocations: 0.7107 MB / 1.053 GB, free: 6.012 MB / 0.795 GB Notification: Performance of pre-optimization done (n=80): time 3.005e-06/1.024, allocations: 0 / 1.053 GB, free: 6.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=80): time 0.005981/1.03, allocations: 1.878 MB / 1.055 GB, free: 4.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/1.031, allocations: 60.06 kB / 1.055 GB, free: 4.055 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/1.032, allocations: 1.251 MB / 1.056 GB, free: 2.797 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/1.032, allocations: 45.7 kB / 1.056 GB, free: 2.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/1.033, allocations: 0.5793 MB / 1.056 GB, free: 2.16 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.033, allocations: 276.1 kB / 1.057 GB, free: 1.887 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/1.033, allocations: 186.5 kB / 1.057 GB, free: 1.695 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.033, allocations: 345.9 kB / 1.057 GB, free: 1.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/1.035, allocations: 0.5405 MB / 1.058 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/1.037, allocations: 0.8443 MB / 1.059 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/1.041, allocations: 1.321 MB / 1.06 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.041, allocations: 4 kB / 1.06 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004393/1.045, allocations: 1.494 MB / 1.061 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/1.045, allocations: 11.94 kB / 1.061 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/1.045, allocations: 8.844 kB / 1.061 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/1.045, allocations: 12 kB / 1.061 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.047, allocations: 300.4 kB / 1.062 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-05/1.047, allocations: 15.94 kB / 1.062 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.049, allocations: 202.7 kB / 1.062 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.049, allocations: 51.97 kB / 1.062 GB, free: 12.33 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0007821/1.05, allocations: 348.2 kB / 1.062 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/1.05, allocations: 138.2 kB / 1.062 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/1.056, allocations: 1.406 MB / 1.064 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.056, allocations: 8 kB / 1.064 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.056, allocations: 0 / 1.064 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.056, allocations: 3.984 kB / 1.064 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/1.064, allocations: 2.803 MB / 1.066 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.064, allocations: 4 kB / 1.066 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/1.065, allocations: 223.8 kB / 1.067 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/1.065, allocations: 11.94 kB / 1.067 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/1.065, allocations: 27.97 kB / 1.067 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/1.065, allocations: 11.88 kB / 1.067 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.065, allocations: 15.94 kB / 1.067 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008294/1.074, allocations: 2.248 MB / 1.069 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/1.075, allocations: 299.2 kB / 1.069 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/1.075, allocations: 16 kB / 1.069 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/1.077, allocations: 115.9 kB / 1.069 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/1.077, allocations: 64.38 kB / 1.069 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.077, allocations: 35.97 kB / 1.069 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00163/1.079, allocations: 0.8604 MB / 1.07 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/1.079, allocations: 0 / 1.07 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001682/1.08, allocations: 323.5 kB / 1.071 GB, free: 3.191 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.001802/1.082, allocations: 0.531 MB / 1.071 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005303/1.087, allocations: 1.286 MB / 1.072 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.087, allocations: 4.25 kB / 1.072 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/1.09, allocations: 0.644 MB / 1.073 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/1.093, allocations: 0.6087 MB / 1.074 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/1.098, allocations: 2.569 MB / 1.076 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/1.099, allocations: 1.179 MB / 1.077 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001198/1.1, allocations: 342 kB / 1.078 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/1.101, allocations: 111.4 kB / 1.078 GB, free: 12 MB / 0.8262 GB Notification: Performance of SimCode: time 1.082e-06/1.101, allocations: 0 / 1.078 GB, free: 12 MB / 0.8262 GB Notification: Performance of Templates: time 0.03867/1.139, allocations: 22.88 MB / 1.1 GB, free: 5.477 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)