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 2.592/2.592, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001498/0.001498, allocations: 178.6 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.0011/0.0011, allocations: 91.77 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000734/0.000734, allocations: 17.23 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2295, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03031/0.2598, allocations: 24.59 MB / 1.002 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2719, allocations: 5.828 MB / 1.008 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2733, allocations: 39.69 kB / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.2756, allocations: 0.6458 MB / 1.009 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004677/0.2803, allocations: 1.184 MB / 1.01 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005637/0.286, allocations: 1.316 MB / 1.011 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003953/0.29, allocations: 1.56 MB / 1.013 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.2915, allocations: 0.6666 MB / 1.013 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.2941, allocations: 0.8447 MB / 1.014 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2953, allocations: 0.5679 MB / 1.015 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.2955, allocations: 36 kB / 1.015 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.2978, allocations: 0.5383 MB / 1.015 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.2982, allocations: 235.1 kB / 1.015 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.2986, allocations: 225.1 kB / 1.016 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.3009, allocations: 1.029 MB / 1.017 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3009, allocations: 0 / 1.017 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3009, allocations: 0 / 1.017 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.3009, allocations: 0 / 1.017 GB, free: 5.004 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.003771/0.3047, allocations: 1.38 MB / 1.018 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3048, allocations: 12.03 kB / 1.018 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/0.3109, allocations: 0.6421 MB / 1.019 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.313, allocations: 0.7742 MB / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.279e-05/0.3131, allocations: 54 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.3134, allocations: 76 kB / 1.019 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.3175, allocations: 1.096 MB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.3175, allocations: 7.938 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3176, allocations: 35.98 kB / 1.021 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.3177, allocations: 16 kB / 1.021 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005495/0.3232, allocations: 1.024 MB / 1.022 GB, free: 15.7 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.008974/0.3322, allocations: 4.975 MB / 1.026 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005317/0.3375, allocations: 0.9583 MB / 1.027 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/0.3395, allocations: 1.591 MB / 1.029 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002909/0.3424, allocations: 0.5845 MB / 1.029 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.798e-06/0.3424, allocations: 0 / 1.029 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.00845/0.3509, allocations: 1.516 MB / 1.031 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.351, allocations: 63.97 kB / 1.031 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.353, allocations: 1.117 MB / 1.032 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.3531, allocations: 41.7 kB / 1.032 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/0.3538, allocations: 0.5473 MB / 1.033 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.3541, allocations: 217 kB / 1.033 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.3542, allocations: 12 kB / 1.033 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3543, allocations: 334 kB / 1.033 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.357, allocations: 465.6 kB / 1.034 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.3599, allocations: 0.7436 MB / 1.034 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.3627, allocations: 497.8 kB / 1.035 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.3627, allocations: 8 kB / 1.035 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006272/0.369, allocations: 1.286 MB / 1.036 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.3691, allocations: 15.89 kB / 1.036 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.3691, allocations: 8 kB / 1.036 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.3691, allocations: 12 kB / 1.036 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.3715, allocations: 275.8 kB / 1.036 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.3715, allocations: 19.92 kB / 1.036 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.3737, allocations: 203 kB / 1.037 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.3739, allocations: 55.97 kB / 1.037 GB, free: 15.36 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.0006725/0.3746, allocations: 287.8 kB / 1.037 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.3749, allocations: 122.5 kB / 1.037 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006651/0.3815, allocations: 1.39 MB / 1.038 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.3816, allocations: 15.92 kB / 1.038 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3816, allocations: 0 / 1.038 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.3817, allocations: 7.984 kB / 1.038 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008661/0.3903, allocations: 2.386 MB / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.3904, allocations: 7.938 kB / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.3923, allocations: 192 kB / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.3924, allocations: 4 kB / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.3925, allocations: 23.97 kB / 1.041 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.3925, allocations: 7.984 kB / 1.041 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.3925, allocations: 7.938 kB / 1.041 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009269/0.4018, allocations: 2.078 MB / 1.043 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/0.4026, allocations: 287.3 kB / 1.043 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.4029, allocations: 12 kB / 1.043 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/0.4047, allocations: 127.9 kB / 1.043 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.4048, allocations: 64.38 kB / 1.044 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.405, allocations: 31.97 kB / 1.044 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001469/0.4065, allocations: 0.7603 MB / 1.044 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4065, allocations: 7.938 kB / 1.044 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00151/0.408, allocations: 343.5 kB / 1.045 GB, free: 7.039 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.001955/0.41, allocations: 0.6418 MB / 1.045 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00589/0.4159, allocations: 1.13 MB / 1.046 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4159, allocations: 4.062 kB / 1.046 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.4189, allocations: 0.5812 MB / 1.047 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/0.4224, allocations: 440.4 kB / 1.047 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/0.4309, allocations: 2.704 MB / 1.05 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/0.4318, allocations: 1.129 MB / 1.051 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001825/0.4337, allocations: 248.8 kB / 1.051 GB, free: 264 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/0.4342, allocations: 111.3 kB / 1.051 GB, free: 152 kB / 0.6667 GB Notification: Performance of SimCode: time 1.263e-06/0.4342, allocations: 0 / 1.051 GB, free: 152 kB / 0.6667 GB Notification: Performance of Templates: time 0.6555/1.09, allocations: 18.87 MB / 1.07 GB, free: 87.21 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)