Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001219/0.001219, allocations: 169.1 kB / 371.8 MB, free: 10.28 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.657/1.657, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008768/0.0008769, allocations: 91.53 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000535/0.0005351, allocations: 11.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2688, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02097/0.2898, allocations: 24.6 MB / 1.003 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008672/0.2985, allocations: 5.817 MB / 1.009 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.3, allocations: 39.69 kB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.302, allocations: 0.6419 MB / 1.01 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.3063, allocations: 1.188 MB / 1.011 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.3103, allocations: 1.315 MB / 1.012 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003385/0.3137, allocations: 1.56 MB / 1.014 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.3149, allocations: 0.6588 MB / 1.014 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.3168, allocations: 0.8486 MB / 1.015 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008643/0.3177, allocations: 0.5679 MB / 1.016 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.3178, allocations: 36 kB / 1.016 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.3195, allocations: 0.5382 MB / 1.016 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.3197, allocations: 231.1 kB / 1.017 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.32, allocations: 233 kB / 1.017 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.3214, allocations: 1.025 MB / 1.018 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3214, allocations: 4 kB / 1.018 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3214, allocations: 0 / 1.018 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.3215, allocations: 0 / 1.018 GB, free: 4.309 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.002439/0.3239, allocations: 1.38 MB / 1.019 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.324, allocations: 12.03 kB / 1.019 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.3273, allocations: 0.6344 MB / 1.02 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.3288, allocations: 0.7703 MB / 1.021 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.3289, allocations: 57.98 kB / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.329, allocations: 76 kB / 1.021 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.3314, allocations: 1.107 MB / 1.022 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.3314, allocations: 0 / 1.022 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.3315, allocations: 28 kB / 1.022 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3315, allocations: 20 kB / 1.022 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.3345, allocations: 1.02 MB / 1.023 GB, free: 15.01 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.00585/0.3403, allocations: 4.979 MB / 1.028 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.3431, allocations: 0.9536 MB / 1.029 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.3444, allocations: 1.6 MB / 1.03 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.346, allocations: 0.5729 MB / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.897e-06/0.3461, allocations: 0 / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.004555/0.3506, allocations: 1.524 MB / 1.032 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.3507, allocations: 55.97 kB / 1.032 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.3519, allocations: 1.117 MB / 1.033 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.352, allocations: 45.69 kB / 1.033 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.3525, allocations: 0.5513 MB / 1.034 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.3527, allocations: 209 kB / 1.034 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3527, allocations: 16 kB / 1.034 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3528, allocations: 341.9 kB / 1.034 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.3542, allocations: 461.6 kB / 1.035 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.3558, allocations: 0.7435 MB / 1.036 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.3572, allocations: 497.8 kB / 1.036 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.3573, allocations: 4 kB / 1.036 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003432/0.3607, allocations: 1.293 MB / 1.037 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3607, allocations: 13.97 kB / 1.037 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3608, allocations: 4 kB / 1.037 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.3608, allocations: 19.95 kB / 1.037 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.362, allocations: 280.3 kB / 1.038 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.362, allocations: 15.94 kB / 1.038 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3633, allocations: 211 kB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.3634, allocations: 39.98 kB / 1.038 GB, free: 14.67 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.0004823/0.3639, allocations: 291.8 kB / 1.038 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.3641, allocations: 122.5 kB / 1.038 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.3678, allocations: 1.386 MB / 1.04 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.3678, allocations: 11.95 kB / 1.04 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3678, allocations: 0 / 1.04 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3678, allocations: 3.984 kB / 1.04 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.3729, allocations: 2.386 MB / 1.042 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.373, allocations: 4 kB / 1.042 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.3739, allocations: 195.9 kB / 1.042 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.374, allocations: 4 kB / 1.042 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-05/0.374, allocations: 27.97 kB / 1.042 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.3741, allocations: 4 kB / 1.042 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3741, allocations: 8 kB / 1.042 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004873/0.3789, allocations: 2.082 MB / 1.044 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.3796, allocations: 291.3 kB / 1.045 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.3797, allocations: 16 kB / 1.045 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/0.3807, allocations: 131.8 kB / 1.045 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3808, allocations: 52.39 kB / 1.045 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.3809, allocations: 35.97 kB / 1.045 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009118/0.3818, allocations: 0.7642 MB / 1.046 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3818, allocations: 0 / 1.046 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001045/0.3828, allocations: 343.5 kB / 1.046 GB, free: 6.355 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.001384/0.3842, allocations: 0.6481 MB / 1.046 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003308/0.3875, allocations: 1.134 MB / 1.048 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3876, allocations: 0 / 1.048 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.3892, allocations: 0.5776 MB / 1.048 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.3914, allocations: 449.8 kB / 1.049 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/0.3971, allocations: 2.7 MB / 1.051 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/0.398, allocations: 1.137 MB / 1.052 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001404/0.3994, allocations: 244.8 kB / 1.053 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.3999, allocations: 111.3 kB / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.143e-06/0.3999, allocations: 0 / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.4705/0.8705, allocations: 18.87 MB / 1.071 GB, free: 87.84 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)