Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.259/2.259, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 193.4 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 102.1 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 55.16 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3186, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02108/0.3397, allocations: 29.17 MB / 1.247 GB, free: 87.95 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.008309/0.3481, allocations: 6.92 MB / 1.253 GB, free: 81.02 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.3496, allocations: 43.69 kB / 1.253 GB, free: 80.97 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.351, allocations: 0.5948 MB / 1.254 GB, free: 80.38 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.3542, allocations: 1.342 MB / 1.255 GB, free: 79.03 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.3567, allocations: 1.047 MB / 1.256 GB, free: 77.99 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002656/0.3593, allocations: 3.23 MB / 1.259 GB, free: 74.75 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.3602, allocations: 0.7296 MB / 1.26 GB, free: 74.01 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.3616, allocations: 0.949 MB / 1.261 GB, free: 73.05 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.3624, allocations: 0.8363 MB / 1.262 GB, free: 72.21 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.105e-05/0.3625, allocations: 44 kB / 1.262 GB, free: 72.17 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.3641, allocations: 0.76 MB / 1.263 GB, free: 71.41 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.3643, allocations: 258.9 kB / 1.263 GB, free: 71.16 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.3647, allocations: 0.5319 MB / 1.263 GB, free: 70.62 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.3662, allocations: 1.569 MB / 1.265 GB, free: 69.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3662, allocations: 0 / 1.265 GB, free: 69.05 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3662, allocations: 0 / 1.265 GB, free: 69.05 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3662, allocations: 4 kB / 1.265 GB, free: 69.04 MB / 0.823 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.002154/0.3684, allocations: 1.555 MB / 1.266 GB, free: 67.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3684, allocations: 11.98 kB / 1.267 GB, free: 67.42 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.3715, allocations: 0.5923 MB / 1.267 GB, free: 66.83 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.3726, allocations: 0.8133 MB / 1.268 GB, free: 65.96 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.3727, allocations: 58.38 kB / 1.268 GB, free: 65.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3728, allocations: 71.94 kB / 1.268 GB, free: 65.83 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.3749, allocations: 1.104 MB / 1.269 GB, free: 64.65 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3749, allocations: 0 / 1.269 GB, free: 64.65 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.375, allocations: 28 kB / 1.269 GB, free: 64.62 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.375, allocations: 20 kB / 1.269 GB, free: 64.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.3778, allocations: 1.004 MB / 1.27 GB, free: 63.59 MB / 0.823 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.00479/0.3826, allocations: 4.936 MB / 1.275 GB, free: 58.37 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.3852, allocations: 0.9046 MB / 1.276 GB, free: 57.46 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3864, allocations: 494.4 kB / 1.276 GB, free: 56.97 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.3877, allocations: 1.587 MB / 1.278 GB, free: 55.03 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.3892, allocations: 0.5768 MB / 1.278 GB, free: 54.44 MB / 0.823 GB Notification: Performance of pre-optimization done (n=61): time 3.827e-06/0.3892, allocations: 0 / 1.278 GB, free: 54.44 MB / 0.823 GB Notification: Performance of matching and sorting (n=61): time 0.004293/0.3935, allocations: 1.485 MB / 1.28 GB, free: 52.95 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3936, allocations: 59.97 kB / 1.28 GB, free: 52.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.3947, allocations: 1.116 MB / 1.281 GB, free: 51.75 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.3947, allocations: 37.7 kB / 1.281 GB, free: 51.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.3951, allocations: 0.5472 MB / 1.282 GB, free: 51.15 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3952, allocations: 205.1 kB / 1.282 GB, free: 50.95 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3954, allocations: 170.5 kB / 1.282 GB, free: 50.78 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.3955, allocations: 337.9 kB / 1.282 GB, free: 50.44 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3968, allocations: 449.6 kB / 1.283 GB, free: 50 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.3982, allocations: 0.7164 MB / 1.283 GB, free: 49.17 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.4008, allocations: 1.117 MB / 1.284 GB, free: 47.95 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4008, allocations: 4 kB / 1.284 GB, free: 47.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0033/0.4041, allocations: 1.27 MB / 1.286 GB, free: 46.67 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4042, allocations: 9.25 kB / 1.286 GB, free: 46.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.4042, allocations: 11.98 kB / 1.286 GB, free: 46.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.4042, allocations: 16 kB / 1.286 GB, free: 46.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.4053, allocations: 267.9 kB / 1.286 GB, free: 46.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.4054, allocations: 19.92 kB / 1.286 GB, free: 46.35 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.4067, allocations: 198.9 kB / 1.286 GB, free: 46.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.4068, allocations: 47.97 kB / 1.286 GB, free: 46.11 MB / 0.823 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.0004711/0.4073, allocations: 292.3 kB / 1.287 GB, free: 45.82 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.4076, allocations: 126.4 kB / 1.287 GB, free: 45.69 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/0.411, allocations: 1.359 MB / 1.288 GB, free: 44.32 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.4111, allocations: 11.94 kB / 1.288 GB, free: 44.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4111, allocations: 0 / 1.288 GB, free: 44.31 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4111, allocations: 3.984 kB / 1.288 GB, free: 44.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.4158, allocations: 2.374 MB / 1.29 GB, free: 41.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4158, allocations: 96 / 1.29 GB, free: 41.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/0.4168, allocations: 199.8 kB / 1.291 GB, free: 41.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.4168, allocations: 4 kB / 1.291 GB, free: 41.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/0.4169, allocations: 23.97 kB / 1.291 GB, free: 41.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.4169, allocations: 4 kB / 1.291 GB, free: 41.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4169, allocations: 7.938 kB / 1.291 GB, free: 41.62 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008932/0.4258, allocations: 4.998 MB / 1.295 GB, free: 36.38 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.4263, allocations: 279.3 kB / 1.296 GB, free: 36.08 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.4265, allocations: 15.98 kB / 1.296 GB, free: 36.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/0.4274, allocations: 119.8 kB / 1.296 GB, free: 35.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.4275, allocations: 52.44 kB / 1.296 GB, free: 35.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.4276, allocations: 35.97 kB / 1.296 GB, free: 35.86 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007509/0.4284, allocations: 0.7638 MB / 1.297 GB, free: 35.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4284, allocations: 0 / 1.297 GB, free: 35.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001241/0.4296, allocations: 431.5 kB / 1.297 GB, free: 34.67 MB / 0.823 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.001509/0.4312, allocations: 0.6626 MB / 1.298 GB, free: 34.17 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003178/0.4344, allocations: 1.11 MB / 1.299 GB, free: 33.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4344, allocations: 3.938 kB / 1.299 GB, free: 33.06 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.4359, allocations: 0.5697 MB / 1.299 GB, free: 32.49 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.4381, allocations: 424.8 kB / 1.3 GB, free: 32.08 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.443, allocations: 3.129 MB / 1.303 GB, free: 28.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.4436, allocations: 1.124 MB / 1.304 GB, free: 27.74 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001059/0.4447, allocations: 248.6 kB / 1.304 GB, free: 27.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.445, allocations: 107.4 kB / 1.304 GB, free: 27.39 MB / 0.823 GB Notification: Performance of SimCode: time 6.31e-07/0.4451, allocations: 0 / 1.304 GB, free: 27.39 MB / 0.823 GB Notification: Performance of Templates: time 0.03096/0.476, allocations: 19.66 MB / 1.323 GB, free: 7.945 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)