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.005119/0.005119, allocations: 102 kB / 15.73 MB, free: 6.035 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.001069/0.001069, allocations: 187.9 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.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.515/1.515, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.00145/0.00145, allocations: 75.83 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2249, allocations: 104.7 MB / 0.8281 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.751/0.9759, allocations: 194.1 MB / 1.018 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009706/0.9856, allocations: 5.145 MB / 1.023 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.9874, allocations: 49.84 kB / 1.023 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.9898, allocations: 0.8218 MB / 1.024 GB, free: 0.9844 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.007075/0.9969, allocations: 2.659 MB / 1.026 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.9999, allocations: 1.124 MB / 1.027 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00355/1.004, allocations: 2.593 MB / 1.03 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/1.005, allocations: 0.9025 MB / 1.031 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/1.007, allocations: 1.136 MB / 1.032 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/1.008, allocations: 0.9442 MB / 1.033 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/1.008, allocations: 88.5 kB / 1.033 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/1.011, allocations: 1.797 MB / 1.035 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/1.011, allocations: 438.6 kB / 1.035 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006136/1.012, allocations: 0.6448 MB / 1.036 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002808/1.015, allocations: 2.184 MB / 1.038 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.015, allocations: 0 / 1.038 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/1.015, allocations: 0 / 1.038 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.015, allocations: 0 / 1.038 GB, free: 6.02 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.004559/1.019, allocations: 1.953 MB / 1.04 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.019, allocations: 12.03 kB / 1.04 GB, free: 4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/1.023, allocations: 0.6576 MB / 1.04 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/1.025, allocations: 0.9646 MB / 1.041 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/1.025, allocations: 66 kB / 1.041 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/1.025, allocations: 87.91 kB / 1.041 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/1.028, allocations: 1.476 MB / 1.043 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.028, allocations: 7.938 kB / 1.043 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.824e-05/1.028, allocations: 43.97 kB / 1.043 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/1.028, allocations: 45.98 kB / 1.043 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/1.032, allocations: 1.514 MB / 1.044 GB, free: 15 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.007042/1.039, allocations: 5.484 MB / 1.05 GB, free: 9.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/1.043, allocations: 1.284 MB / 1.051 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/1.044, allocations: 0.6592 MB / 1.052 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008587/1.045, allocations: 0.5812 MB / 1.052 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/1.047, allocations: 0.715 MB / 1.053 GB, free: 5.859 MB / 0.795 GB Notification: Performance of pre-optimization done (n=80): time 3.196e-06/1.047, allocations: 4 kB / 1.053 GB, free: 5.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=80): time 0.00559/1.053, allocations: 1.87 MB / 1.055 GB, free: 3.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.053, allocations: 64.06 kB / 1.055 GB, free: 3.902 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/1.054, allocations: 1.251 MB / 1.056 GB, free: 2.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/1.054, allocations: 45.7 kB / 1.056 GB, free: 2.594 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/1.055, allocations: 0.5793 MB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/1.055, allocations: 276.1 kB / 1.057 GB, free: 1.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/1.056, allocations: 186.5 kB / 1.057 GB, free: 1.543 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.056, allocations: 346 kB / 1.057 GB, free: 1.199 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/1.057, allocations: 0.5366 MB / 1.058 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/1.059, allocations: 0.8451 MB / 1.059 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/1.062, allocations: 1.324 MB / 1.06 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.062, allocations: 0 / 1.06 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003946/1.066, allocations: 1.495 MB / 1.061 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.066, allocations: 20 kB / 1.061 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.066, allocations: 8 kB / 1.062 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.066, allocations: 15.94 kB / 1.062 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.068, allocations: 291.5 kB / 1.062 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/1.068, allocations: 23.55 kB / 1.062 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/1.069, allocations: 198.7 kB / 1.062 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.069, allocations: 51.97 kB / 1.062 GB, free: 12.18 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.0006295/1.07, allocations: 345.4 kB / 1.062 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/1.07, allocations: 138.2 kB / 1.063 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.074, allocations: 1.405 MB / 1.064 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.074, allocations: 8 kB / 1.064 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.074, allocations: 0 / 1.064 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.074, allocations: 3.984 kB / 1.064 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/1.08, allocations: 2.803 MB / 1.067 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.08, allocations: 4 kB / 1.067 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.082, allocations: 220.2 kB / 1.067 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/1.082, allocations: 15.94 kB / 1.067 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/1.082, allocations: 27.98 kB / 1.067 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-05/1.082, allocations: 15.92 kB / 1.067 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.082, allocations: 4 kB / 1.067 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/1.087, allocations: 2.252 MB / 1.069 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006984/1.088, allocations: 295.2 kB / 1.069 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/1.088, allocations: 31.92 kB / 1.069 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.089, allocations: 103.9 kB / 1.07 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.089, allocations: 64.42 kB / 1.07 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/1.09, allocations: 35.97 kB / 1.07 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001117/1.091, allocations: 0.8565 MB / 1.07 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/1.091, allocations: 0 / 1.07 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001133/1.092, allocations: 323.5 kB / 1.071 GB, free: 3.047 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.00138/1.093, allocations: 0.5382 MB / 1.071 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00367/1.097, allocations: 1.286 MB / 1.073 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.097, allocations: 0 / 1.073 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.099, allocations: 0.6404 MB / 1.073 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.101, allocations: 0.6253 MB / 1.074 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/1.106, allocations: 2.569 MB / 1.076 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/1.107, allocations: 1.179 MB / 1.077 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001195/1.108, allocations: 342 kB / 1.078 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/1.109, allocations: 111.4 kB / 1.078 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/1.109, allocations: 0 / 1.078 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.03824/1.147, allocations: 22.86 MB / 1.1 GB, free: 5.332 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)