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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 175.3 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008118/0.0008118, allocations: 89.58 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003329, allocations: 11 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2128, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02029/0.2331, allocations: 28.48 MB / 0.9293 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00822/0.2414, allocations: 6.657 MB / 0.9358 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.2432, allocations: 43.62 kB / 0.9358 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.2448, allocations: 0.5949 MB / 0.9364 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.2487, allocations: 1.326 MB / 0.9377 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.2516, allocations: 1.047 MB / 0.9387 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.255, allocations: 3.198 MB / 0.9418 GB, free: 22.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.2562, allocations: 0.7054 MB / 0.9425 GB, free: 21.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.2581, allocations: 0.945 MB / 0.9434 GB, free: 20.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.2591, allocations: 0.8207 MB / 0.9442 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2593, allocations: 36 kB / 0.9443 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.261, allocations: 0.756 MB / 0.945 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.2612, allocations: 258.9 kB / 0.9453 GB, free: 18.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.2618, allocations: 0.5375 MB / 0.9458 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.263, allocations: 1.13 MB / 0.9469 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.263, allocations: 0 / 0.9469 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2631, allocations: 3.938 kB / 0.9469 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.2631, allocations: 0 / 0.9469 GB, free: 16.81 MB / 0.6042 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.002036/0.2651, allocations: 1.372 MB / 0.9482 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2652, allocations: 16.02 kB / 0.9482 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.2683, allocations: 0.6314 MB / 0.9489 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.2694, allocations: 0.8174 MB / 0.9497 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.2695, allocations: 62.36 kB / 0.9497 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2696, allocations: 79.94 kB / 0.9498 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.2717, allocations: 1.105 MB / 0.9509 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2717, allocations: 8 kB / 0.9509 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.2718, allocations: 28 kB / 0.9509 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.2718, allocations: 16 kB / 0.9509 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.2745, allocations: 1.027 MB / 0.9519 GB, free: 11.46 MB / 0.6042 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.004836/0.2793, allocations: 4.975 MB / 0.9568 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.2819, allocations: 0.9585 MB / 0.9577 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.2832, allocations: 0.4923 MB / 0.9582 GB, free: 4.734 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.2843, allocations: 1.603 MB / 0.9598 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.2858, allocations: 0.5846 MB / 0.9603 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.557e-06/0.2858, allocations: 0 / 0.9603 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004306/0.2901, allocations: 1.524 MB / 0.9618 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2901, allocations: 55.97 kB / 0.9619 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.2915, allocations: 1.132 MB / 0.963 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.2916, allocations: 37.7 kB / 0.963 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.2921, allocations: 0.5513 MB / 0.9636 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.2923, allocations: 213.1 kB / 0.9638 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.2924, allocations: 12 kB / 0.9638 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2925, allocations: 334 kB / 0.9641 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.2939, allocations: 465.6 kB / 0.9645 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.2956, allocations: 0.7436 MB / 0.9653 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.2986, allocations: 1.14 MB / 0.9664 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.2987, allocations: 4 kB / 0.9664 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003619/0.3023, allocations: 1.297 MB / 0.9677 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.3023, allocations: 11.94 kB / 0.9677 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3024, allocations: 8 kB / 0.9677 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.3024, allocations: 12 kB / 0.9677 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3036, allocations: 284.3 kB / 0.968 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.3036, allocations: 15.94 kB / 0.968 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.3049, allocations: 210.9 kB / 0.9682 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.3051, allocations: 47.98 kB / 0.9682 GB, free: 9.828 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005359/0.3056, allocations: 291.8 kB / 0.9685 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3058, allocations: 126.4 kB / 0.9686 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/0.3096, allocations: 1.386 MB / 0.97 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.3096, allocations: 12 kB / 0.97 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3096, allocations: 0 / 0.97 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3096, allocations: 3.984 kB / 0.97 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.3147, allocations: 2.401 MB / 0.9723 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.3147, allocations: 4 kB / 0.9723 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.3157, allocations: 191.9 kB / 0.9725 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3157, allocations: 4 kB / 0.9725 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.3158, allocations: 27.97 kB / 0.9725 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.3158, allocations: 4 kB / 0.9725 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3158, allocations: 7.938 kB / 0.9726 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.3209, allocations: 2.008 MB / 0.9745 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/0.3214, allocations: 287.3 kB / 0.9748 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.3216, allocations: 19.98 kB / 0.9748 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009481/0.3226, allocations: 123.9 kB / 0.9749 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3227, allocations: 56.36 kB / 0.975 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/0.3228, allocations: 39.97 kB / 0.975 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009762/0.3238, allocations: 0.7681 MB / 0.9758 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3238, allocations: 3.938 kB / 0.9758 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001105/0.3249, allocations: 347.6 kB / 0.9761 GB, free: 1.582 MB / 0.6198 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.001492/0.3264, allocations: 0.6629 MB / 0.9768 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003324/0.3297, allocations: 1.134 MB / 0.9779 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.3298, allocations: 0 / 0.9779 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.3314, allocations: 0.5853 MB / 0.9784 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.3338, allocations: 452.2 kB / 0.9789 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.339, allocations: 2.867 MB / 0.9817 GB, free: 12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.3397, allocations: 1.104 MB / 0.9827 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.3403, allocations: 115.4 kB / 0.9829 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.3403, allocations: 0 / 0.9829 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.03205/0.3723, allocations: 19.11 MB / 1.002 GB, free: 7.762 MB / 0.6511 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)