Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.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.001518/0.001518, allocations: 71.02 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.274, allocations: 114.6 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02982/0.3039, allocations: 29.36 MB / 0.8128 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.3148, allocations: 6.735 MB / 0.8194 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.3163, allocations: 47.69 kB / 0.8194 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.3181, allocations: 0.6953 MB / 0.8201 GB, free: 7.824 MB / 0.6387 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.004119/0.3222, allocations: 1.43 MB / 0.8215 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.3255, allocations: 1.16 MB / 0.8226 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00361/0.3292, allocations: 2.454 MB / 0.825 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.3303, allocations: 0.8098 MB / 0.8258 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.3321, allocations: 1.027 MB / 0.8268 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3331, allocations: 0.8169 MB / 0.8276 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.3333, allocations: 68 kB / 0.8277 GB, free: 32 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.3352, allocations: 0.8226 MB / 0.8285 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.3355, allocations: 275 kB / 0.8287 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.336, allocations: 0.5592 MB / 0.8293 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.3383, allocations: 1.647 MB / 0.8309 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3383, allocations: 0 / 0.8309 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3383, allocations: 0 / 0.8309 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.3383, allocations: 4 kB / 0.8309 GB, free: 12.72 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002584/0.3409, allocations: 1.578 MB / 0.8324 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.341, allocations: 15.97 kB / 0.8324 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/0.3443, allocations: 0.5884 MB / 0.833 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.3458, allocations: 0.8799 MB / 0.8339 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.3459, allocations: 62.31 kB / 0.8339 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.346, allocations: 83.78 kB / 0.834 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.3485, allocations: 1.099 MB / 0.8351 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3485, allocations: 7.938 kB / 0.8351 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.3486, allocations: 32 kB / 0.8351 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3486, allocations: 20 kB / 0.8352 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/0.3516, allocations: 1 MB / 0.8361 GB, free: 7.164 MB / 0.6544 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.005778/0.3574, allocations: 4.94 MB / 0.841 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.3603, allocations: 0.8981 MB / 0.8418 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3617, allocations: 491.1 kB / 0.8423 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.3631, allocations: 1.587 MB / 0.8438 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/0.3648, allocations: 0.5844 MB / 0.8444 GB, free: 14.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 2.846e-06/0.3648, allocations: 4 kB / 0.8444 GB, free: 14.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.004753/0.3695, allocations: 1.477 MB / 0.8459 GB, free: 12.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3696, allocations: 55.97 kB / 0.8459 GB, free: 12.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.371, allocations: 1.132 MB / 0.847 GB, free: 11.32 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.3711, allocations: 41.7 kB / 0.8471 GB, free: 11.27 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.3716, allocations: 0.5512 MB / 0.8476 GB, free: 10.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.3718, allocations: 205.2 kB / 0.8478 GB, free: 10.51 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.372, allocations: 166.5 kB / 0.848 GB, free: 10.34 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3722, allocations: 341.9 kB / 0.8483 GB, free: 9.996 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.3736, allocations: 449.6 kB / 0.8487 GB, free: 9.559 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.3754, allocations: 0.7396 MB / 0.8494 GB, free: 8.695 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/0.3785, allocations: 1.117 MB / 0.8505 GB, free: 7.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.3785, allocations: 4 kB / 0.8505 GB, free: 7.473 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003714/0.3822, allocations: 1.278 MB / 0.8518 GB, free: 6.184 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3823, allocations: 8.938 kB / 0.8518 GB, free: 6.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3823, allocations: 8.062 kB / 0.8518 GB, free: 6.168 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.3823, allocations: 16 kB / 0.8518 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3835, allocations: 263.6 kB / 0.8521 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.3835, allocations: 19.92 kB / 0.8521 GB, free: 5.875 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.3847, allocations: 186.9 kB / 0.8523 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.3848, allocations: 43.98 kB / 0.8523 GB, free: 5.648 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005186/0.3853, allocations: 296.4 kB / 0.8526 GB, free: 5.352 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.3855, allocations: 126.4 kB / 0.8527 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.3893, allocations: 1.355 MB / 0.854 GB, free: 3.859 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.3894, allocations: 12 kB / 0.854 GB, free: 3.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3894, allocations: 3.984 kB / 0.854 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.3894, allocations: 0 / 0.854 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.3944, allocations: 2.385 MB / 0.8564 GB, free: 1.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.3944, allocations: 0 / 0.8564 GB, free: 1.383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.3955, allocations: 195.9 kB / 0.8566 GB, free: 1.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.3955, allocations: 4 kB / 0.8566 GB, free: 1.188 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.3956, allocations: 27.91 kB / 0.8566 GB, free: 1.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.3956, allocations: 8 kB / 0.8566 GB, free: 1.152 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.3956, allocations: 4 kB / 0.8566 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/0.4008, allocations: 1.981 MB / 0.8585 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.4013, allocations: 271.4 kB / 0.8588 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.4014, allocations: 16 kB / 0.8588 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/0.4023, allocations: 104 kB / 0.8589 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4024, allocations: 60.42 kB / 0.859 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.4025, allocations: 31.97 kB / 0.859 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009647/0.4035, allocations: 0.772 MB / 0.8597 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.4035, allocations: 0 / 0.8597 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001136/0.4047, allocations: 347.5 kB / 0.8601 GB, free: 13.52 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001499/0.4062, allocations: 0.6587 MB / 0.8607 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.4096, allocations: 1.122 MB / 0.8618 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4096, allocations: 0 / 0.8618 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.4113, allocations: 0.5736 MB / 0.8624 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.4133, allocations: 478.8 kB / 0.8628 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.4182, allocations: 2.346 MB / 0.8651 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.4189, allocations: 1.108 MB / 0.8662 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008735/0.4197, allocations: 248.8 kB / 0.8664 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.42, allocations: 103.4 kB / 0.8665 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.42, allocations: 0 / 0.8665 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of Templates: time 0.03526/0.4553, allocations: 20.36 MB / 0.8864 GB, free: 2.934 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)