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.008656/0.008656, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.00157/0.00157, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.563/1.563, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001442/0.001442, allocations: 71.89 kB / 0.7258 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2442, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03179/0.2761, allocations: 29.38 MB / 0.8568 GB, free: 2.652 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.2871, allocations: 6.699 MB / 0.8633 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.2888, allocations: 47.69 kB / 0.8634 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.2908, allocations: 0.6953 MB / 0.864 GB, free: 11.19 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.004984/0.2958, allocations: 1.493 MB / 0.8655 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.299, allocations: 1.156 MB / 0.8666 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.3027, allocations: 2.465 MB / 0.869 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.3041, allocations: 0.7982 MB / 0.8698 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.3064, allocations: 1.07 MB / 0.8709 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.308, allocations: 0.813 MB / 0.8716 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.3082, allocations: 64 kB / 0.8717 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.3103, allocations: 0.8227 MB / 0.8725 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.3106, allocations: 282.8 kB / 0.8728 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.3113, allocations: 0.5553 MB / 0.8733 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.3136, allocations: 1.647 MB / 0.8749 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3136, allocations: 0 / 0.8749 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3136, allocations: 0 / 0.8749 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.3136, allocations: 4 kB / 0.8749 GB, free: 15.98 MB / 0.7012 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.002543/0.3162, allocations: 1.582 MB / 0.8765 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3162, allocations: 8.031 kB / 0.8765 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.3196, allocations: 0.5923 MB / 0.8771 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.321, allocations: 0.8838 MB / 0.8779 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.3211, allocations: 62.31 kB / 0.878 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.3212, allocations: 75.94 kB / 0.8781 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.3235, allocations: 1.103 MB / 0.8791 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3236, allocations: 0 / 0.8791 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.3236, allocations: 28 kB / 0.8792 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.3237, allocations: 20 kB / 0.8792 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/0.3266, allocations: 1.012 MB / 0.8802 GB, free: 10.43 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.006065/0.3327, allocations: 4.947 MB / 0.885 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.3356, allocations: 0.896 MB / 0.8859 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.3371, allocations: 486.2 kB / 0.8863 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.3385, allocations: 1.587 MB / 0.8879 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.3401, allocations: 0.5767 MB / 0.8885 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 3.206e-06/0.3402, allocations: 4 kB / 0.8885 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.004714/0.3449, allocations: 1.493 MB / 0.8899 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3449, allocations: 55.97 kB / 0.89 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.3466, allocations: 1.125 MB / 0.8911 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.689e-05/0.3467, allocations: 37.7 kB / 0.8911 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/0.3472, allocations: 0.5551 MB / 0.8916 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.3474, allocations: 213.1 kB / 0.8918 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.3477, allocations: 166.5 kB / 0.892 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3479, allocations: 333.9 kB / 0.8923 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3493, allocations: 453.6 kB / 0.8928 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.3509, allocations: 0.7319 MB / 0.8935 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.3538, allocations: 1.12 MB / 0.8946 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3538, allocations: 4 kB / 0.8946 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00369/0.3575, allocations: 1.27 MB / 0.8958 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3575, allocations: 8.938 kB / 0.8958 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.3576, allocations: 8 kB / 0.8958 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.3576, allocations: 16 kB / 0.8958 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.3588, allocations: 271.6 kB / 0.8961 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.241e-05/0.3589, allocations: 15.94 kB / 0.8961 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.3602, allocations: 190.9 kB / 0.8963 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3603, allocations: 43.97 kB / 0.8963 GB, free: 8.906 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.0004914/0.3608, allocations: 287.8 kB / 0.8966 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.3612, allocations: 122.4 kB / 0.8967 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.365, allocations: 1.359 MB / 0.8981 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.365, allocations: 15.98 kB / 0.8981 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.365, allocations: 4 kB / 0.8981 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3651, allocations: 3.984 kB / 0.8981 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.3703, allocations: 2.378 MB / 0.9004 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3703, allocations: 0 / 0.9004 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.3713, allocations: 187.9 kB / 0.9006 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.3714, allocations: 7.938 kB / 0.9006 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.3714, allocations: 31.97 kB / 0.9006 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.3715, allocations: 7.938 kB / 0.9006 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3715, allocations: 0 / 0.9006 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/0.3765, allocations: 1.973 MB / 0.9026 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.3771, allocations: 279.2 kB / 0.9028 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.3773, allocations: 19.98 kB / 0.9028 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.3783, allocations: 107.9 kB / 0.9029 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.3785, allocations: 52.44 kB / 0.903 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.356e-05/0.3786, allocations: 35.97 kB / 0.903 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001201/0.3798, allocations: 0.772 MB / 0.9038 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3798, allocations: 0 / 0.9038 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001323/0.3811, allocations: 343.6 kB / 0.9041 GB, free: 0.7969 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.00173/0.3829, allocations: 0.6674 MB / 0.9048 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.3862, allocations: 1.114 MB / 0.9058 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3863, allocations: 0 / 0.9058 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.3879, allocations: 0.5736 MB / 0.9064 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.39, allocations: 469.9 kB / 0.9069 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.3952, allocations: 2.354 MB / 0.9092 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.396, allocations: 1.104 MB / 0.9102 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009258/0.3969, allocations: 248.8 kB / 0.9105 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.3973, allocations: 115.4 kB / 0.9106 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of SimCode: time 1.693e-06/0.3973, allocations: 0 / 0.9106 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.4863/0.8836, allocations: 20.5 MB / 0.9306 GB, free: 88.8 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)