Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.7/1.7, allocations: 287.5 MB / 302.6 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 183.1 kB / 371.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008455/0.0008456, allocations: 98.41 kB / 0.7432 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 11.56 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01883/0.2463, allocations: 26.93 MB / 1.005 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008866/0.2552, allocations: 6.357 MB / 1.011 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.2564, allocations: 43.62 kB / 1.011 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.2578, allocations: 0.5558 MB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.2606, allocations: 1.17 MB / 1.013 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.2631, allocations: 0.9464 MB / 1.014 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003326/0.2664, allocations: 2.777 MB / 1.017 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.2675, allocations: 0.7055 MB / 1.017 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.2692, allocations: 0.8906 MB / 1.018 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008953/0.2701, allocations: 0.7663 MB / 1.019 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.2702, allocations: 36 kB / 1.019 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.2716, allocations: 0.4911 MB / 1.019 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.2719, allocations: 231 kB / 1.02 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.2722, allocations: 237.1 kB / 1.02 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2733, allocations: 1.04 MB / 1.021 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2733, allocations: 4 kB / 1.021 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2733, allocations: 0 / 1.021 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.2733, allocations: 0 / 1.021 GB, free: 0.875 MB / 0.6355 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.002293/0.2756, allocations: 1.372 MB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2757, allocations: 8.031 kB / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.2789, allocations: 0.6314 MB / 1.023 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.2801, allocations: 0.8213 MB / 1.024 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.2802, allocations: 58.38 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.2803, allocations: 83.92 kB / 1.024 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.2826, allocations: 1.098 MB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2827, allocations: 11.94 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.2828, allocations: 35.94 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.2828, allocations: 16 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.2857, allocations: 1.02 MB / 1.026 GB, free: 11.54 MB / 0.6511 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.00533/0.291, allocations: 4.963 MB / 1.031 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.2938, allocations: 0.9573 MB / 1.032 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.2952, allocations: 0.4951 MB / 1.032 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.2966, allocations: 1.607 MB / 1.034 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.2982, allocations: 0.5845 MB / 1.034 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 2.475e-06/0.2982, allocations: 4 kB / 1.034 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.004444/0.3027, allocations: 1.512 MB / 1.036 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3027, allocations: 59.97 kB / 1.036 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.3039, allocations: 1.113 MB / 1.037 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.304, allocations: 45.7 kB / 1.037 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.3045, allocations: 0.5473 MB / 1.037 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.3046, allocations: 209.1 kB / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.3047, allocations: 16 kB / 1.038 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3048, allocations: 341.9 kB / 1.038 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.3062, allocations: 457.6 kB / 1.038 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.3077, allocations: 0.7475 MB / 1.039 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.3105, allocations: 1.132 MB / 1.04 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3105, allocations: 4 kB / 1.04 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003236/0.3138, allocations: 1.297 MB / 1.042 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3138, allocations: 9.875 kB / 1.042 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3138, allocations: 8 kB / 1.042 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.3139, allocations: 8 kB / 1.042 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.315, allocations: 284.2 kB / 1.042 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.3151, allocations: 12 kB / 1.042 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.3162, allocations: 203 kB / 1.042 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/0.3164, allocations: 51.97 kB / 1.042 GB, free: 9.949 MB / 0.6667 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004384/0.3168, allocations: 295.7 kB / 1.042 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3169, allocations: 122.4 kB / 1.043 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.3205, allocations: 1.383 MB / 1.044 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.3205, allocations: 11.98 kB / 1.044 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3206, allocations: 4 kB / 1.044 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3206, allocations: 7.922 kB / 1.044 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004633/0.3252, allocations: 2.393 MB / 1.046 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3252, allocations: 4 kB / 1.046 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009877/0.3262, allocations: 191.8 kB / 1.046 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.3262, allocations: 4 kB / 1.046 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.3263, allocations: 27.97 kB / 1.046 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3263, allocations: 4 kB / 1.046 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3263, allocations: 8 kB / 1.046 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/0.3311, allocations: 2.008 MB / 1.048 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.3315, allocations: 283.3 kB / 1.049 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.3316, allocations: 12 kB / 1.049 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/0.3325, allocations: 135.8 kB / 1.049 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3326, allocations: 48.44 kB / 1.049 GB, free: 2.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.3327, allocations: 35.97 kB / 1.049 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008651/0.3336, allocations: 0.7642 MB / 1.05 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3336, allocations: 0 / 1.05 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009376/0.3345, allocations: 343.6 kB / 1.05 GB, free: 1.738 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.3358, allocations: 0.6479 MB / 1.051 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.3389, allocations: 1.126 MB / 1.052 GB, free: 128 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.339, allocations: 0 / 1.052 GB, free: 128 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.3405, allocations: 0.5853 MB / 1.052 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.3427, allocations: 440.7 kB / 1.053 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.3474, allocations: 2.719 MB / 1.055 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.3481, allocations: 1.108 MB / 1.056 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009729/0.349, allocations: 244.8 kB / 1.057 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.3494, allocations: 107.4 kB / 1.057 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/0.3494, allocations: 4 kB / 1.057 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of Templates: time 0.4261/0.7755, allocations: 18.91 MB / 1.075 GB, free: 86.47 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)