Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.009563/0.009563, allocations: 102.1 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002074, allocations: 196.3 kB / 16.67 MB, free: 6.391 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.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.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.001415/0.001415, allocations: 67.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2263, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02891/0.2552, allocations: 29.37 MB / 0.8568 GB, free: 2.715 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009641/0.2649, allocations: 6.703 MB / 0.8633 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.2663, allocations: 51.62 kB / 0.8634 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.2679, allocations: 0.6875 MB / 0.864 GB, free: 11.25 MB / 0.6856 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.003585/0.2715, allocations: 1.426 MB / 0.8654 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.2744, allocations: 1.16 MB / 0.8665 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.2778, allocations: 2.454 MB / 0.8689 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.2791, allocations: 0.7982 MB / 0.8697 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.2811, allocations: 1.035 MB / 0.8707 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.2822, allocations: 0.813 MB / 0.8715 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.2823, allocations: 64 kB / 0.8716 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.2842, allocations: 0.8188 MB / 0.8724 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.2845, allocations: 290.9 kB / 0.8727 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006332/0.2851, allocations: 0.5592 MB / 0.8732 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.2879, allocations: 1.647 MB / 0.8748 GB, free: 156 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2879, allocations: 0 / 0.8748 GB, free: 156 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2879, allocations: 0 / 0.8748 GB, free: 156 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.2879, allocations: 0 / 0.8748 GB, free: 156 kB / 0.6856 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.002737/0.2907, allocations: 1.586 MB / 0.8764 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2907, allocations: 8.031 kB / 0.8764 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.2943, allocations: 0.5884 MB / 0.877 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.2962, allocations: 0.8837 MB / 0.8778 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.2962, allocations: 58.38 kB / 0.8779 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2964, allocations: 79.94 kB / 0.8779 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.2988, allocations: 1.096 MB / 0.879 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.2988, allocations: 0 / 0.879 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.2989, allocations: 31.98 kB / 0.879 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.299, allocations: 24 kB / 0.8791 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/0.302, allocations: 1.004 MB / 0.88 GB, free: 10.6 MB / 0.7012 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.00554/0.3076, allocations: 4.943 MB / 0.8849 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.3105, allocations: 0.9106 MB / 0.8858 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.312, allocations: 482.2 kB / 0.8862 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.3133, allocations: 1.599 MB / 0.8878 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.3149, allocations: 0.5689 MB / 0.8883 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.3149, allocations: 0 / 0.8883 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.004898/0.3199, allocations: 1.493 MB / 0.8898 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3199, allocations: 55.97 kB / 0.8899 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.3212, allocations: 1.125 MB / 0.891 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.644e-05/0.3213, allocations: 37.7 kB / 0.891 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.3218, allocations: 0.555 MB / 0.8915 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3219, allocations: 201.1 kB / 0.8917 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.3222, allocations: 170.5 kB / 0.8919 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3223, allocations: 338 kB / 0.8922 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.3238, allocations: 457.6 kB / 0.8926 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.3255, allocations: 0.724 MB / 0.8934 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/0.3285, allocations: 1.124 MB / 0.8944 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/0.3285, allocations: 8 kB / 0.8945 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003591/0.3321, allocations: 1.27 MB / 0.8957 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3322, allocations: 10.81 kB / 0.8957 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3322, allocations: 8 kB / 0.8957 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.3322, allocations: 12 kB / 0.8957 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.3334, allocations: 271.8 kB / 0.896 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.3335, allocations: 19.94 kB / 0.896 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3347, allocations: 186.9 kB / 0.8962 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/0.3348, allocations: 47.97 kB / 0.8962 GB, free: 9.078 MB / 0.7169 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.0004597/0.3353, allocations: 295.8 kB / 0.8965 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3355, allocations: 126.4 kB / 0.8966 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.3393, allocations: 1.359 MB / 0.898 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.3393, allocations: 8 kB / 0.898 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3393, allocations: 0 / 0.898 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3394, allocations: 7.922 kB / 0.898 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.3443, allocations: 2.378 MB / 0.9003 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3443, allocations: 4.031 kB / 0.9003 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.3454, allocations: 187.7 kB / 0.9005 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.3454, allocations: 4 kB / 0.9005 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.3455, allocations: 23.97 kB / 0.9005 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.3455, allocations: 4 kB / 0.9005 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3455, allocations: 4 kB / 0.9005 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.3507, allocations: 1.973 MB / 0.9024 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/0.3512, allocations: 283.2 kB / 0.9027 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.3513, allocations: 16 kB / 0.9027 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/0.3523, allocations: 107.9 kB / 0.9028 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.3524, allocations: 60.36 kB / 0.9029 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.3525, allocations: 35.97 kB / 0.9029 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009034/0.3534, allocations: 0.7642 MB / 0.9037 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3534, allocations: 0 / 0.9037 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00114/0.3546, allocations: 351.6 kB / 0.904 GB, free: 0.9648 MB / 0.7169 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.3561, allocations: 0.6576 MB / 0.9046 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003438/0.3595, allocations: 1.11 MB / 0.9057 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3595, allocations: 0 / 0.9057 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.3613, allocations: 0.5736 MB / 0.9063 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.3635, allocations: 480.5 kB / 0.9067 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.3686, allocations: 2.342 MB / 0.909 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.3693, allocations: 1.104 MB / 0.9101 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009359/0.3702, allocations: 260.7 kB / 0.9104 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.3705, allocations: 111.4 kB / 0.9105 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/0.3705, allocations: 0 / 0.9105 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.568/0.9385, allocations: 20.49 MB / 0.9305 GB, free: 88.49 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)