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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.3 MB, free: 10.82 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.0009578/0.0009575, allocations: 172 kB / 327 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.695/1.695, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.0007857/0.0007857, allocations: 93.91 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004481, allocations: 8.375 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 106.4 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02939/0.2709, allocations: 28.48 MB / 0.9287 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.2815, allocations: 6.65 MB / 0.9352 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2828, allocations: 47.62 kB / 0.9353 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.2843, allocations: 0.5949 MB / 0.9358 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.2879, allocations: 1.33 MB / 0.9371 GB, free: 26.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.2911, allocations: 1.048 MB / 0.9382 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003551/0.2946, allocations: 3.194 MB / 0.9413 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.2958, allocations: 0.7054 MB / 0.942 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.2976, allocations: 0.949 MB / 0.9429 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.2986, allocations: 0.8168 MB / 0.9437 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.2988, allocations: 36 kB / 0.9437 GB, free: 19.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.3007, allocations: 0.7638 MB / 0.9445 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.301, allocations: 250.9 kB / 0.9447 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.3016, allocations: 0.5492 MB / 0.9453 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.3036, allocations: 1.565 MB / 0.9468 GB, free: 16.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3037, allocations: 0 / 0.9468 GB, free: 16.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3037, allocations: 4 kB / 0.9468 GB, free: 16.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.3037, allocations: 0 / 0.9468 GB, free: 16.25 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.002812/0.3065, allocations: 1.376 MB / 0.9481 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3066, allocations: 8.031 kB / 0.9481 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.3067, allocations: 114.7 kB / 0.9483 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.3115, allocations: 0.6353 MB / 0.9489 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.3131, allocations: 0.8136 MB / 0.9497 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.3132, allocations: 62.11 kB / 0.9497 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.3133, allocations: 76 kB / 0.9498 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.3164, allocations: 1.115 MB / 0.9509 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.3165, allocations: 3.938 kB / 0.9509 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.3166, allocations: 28 kB / 0.9509 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.3166, allocations: 24 kB / 0.9509 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.3208, allocations: 1.016 MB / 0.9519 GB, free: 10.79 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.006347/0.3271, allocations: 4.978 MB / 0.9568 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004033/0.3312, allocations: 0.9606 MB / 0.9577 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.3332, allocations: 498.2 kB / 0.9582 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.3345, allocations: 1.604 MB / 0.9598 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002187/0.3367, allocations: 0.5846 MB / 0.9603 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.777e-06/0.3367, allocations: 0 / 0.9603 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.006342/0.343, allocations: 1.52 MB / 0.9618 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3431, allocations: 59.97 kB / 0.9619 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.3451, allocations: 1.128 MB / 0.963 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3452, allocations: 45.7 kB / 0.963 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/0.3459, allocations: 0.5474 MB / 0.9636 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.3461, allocations: 217 kB / 0.9638 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.3462, allocations: 16 kB / 0.9638 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3464, allocations: 338 kB / 0.9641 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.3486, allocations: 461.6 kB / 0.9646 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.3512, allocations: 0.7436 MB / 0.9653 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00451/0.3557, allocations: 1.144 MB / 0.9664 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3557, allocations: 0 / 0.9664 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005377/0.3611, allocations: 1.305 MB / 0.9677 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3611, allocations: 8 kB / 0.9677 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.3612, allocations: 8 kB / 0.9677 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/0.3612, allocations: 12 kB / 0.9677 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.3631, allocations: 279.9 kB / 0.968 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.395e-05/0.3631, allocations: 19.92 kB / 0.968 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.3651, allocations: 211 kB / 0.9682 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.3652, allocations: 39.98 kB / 0.9682 GB, free: 9.148 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.0006591/0.3659, allocations: 295.8 kB / 0.9685 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.3662, allocations: 122.4 kB / 0.9686 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/0.3719, allocations: 1.39 MB / 0.97 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.3719, allocations: 8 kB / 0.97 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.372, allocations: 0 / 0.97 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.372, allocations: 3.984 kB / 0.97 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007607/0.3796, allocations: 2.401 MB / 0.9723 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.3796, allocations: 0 / 0.9723 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.3812, allocations: 199.9 kB / 0.9725 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/0.3812, allocations: 4 kB / 0.9725 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.3814, allocations: 27.97 kB / 0.9726 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.3814, allocations: 4 kB / 0.9726 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.3814, allocations: 7.938 kB / 0.9726 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007717/0.3891, allocations: 2.008 MB / 0.9745 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/0.3899, allocations: 283.3 kB / 0.9748 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.3902, allocations: 19.98 kB / 0.9748 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.3918, allocations: 123.9 kB / 0.9749 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.392, allocations: 60.36 kB / 0.975 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.3921, allocations: 31.97 kB / 0.975 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001643/0.3938, allocations: 0.7681 MB / 0.9758 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3938, allocations: 4 kB / 0.9758 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001652/0.3955, allocations: 347.6 kB / 0.9761 GB, free: 0.9062 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.01022/0.4057, allocations: 3.106 MB / 0.9791 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005058/0.4108, allocations: 1.134 MB / 0.9802 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4108, allocations: 0 / 0.9802 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.4133, allocations: 0.5892 MB / 0.9808 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/0.417, allocations: 454.4 kB / 0.9813 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/0.4448, allocations: 10.73 MB / 0.9917 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.4457, allocations: 1.118 MB / 0.9928 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001307/0.447, allocations: 252.8 kB / 0.9931 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007928/0.4478, allocations: 463.2 kB / 0.9935 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/0.4478, allocations: 0 / 0.9935 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/0.498, allocations: 29.51 MB / 1.022 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.4982, allocations: 272 kB / 1.023 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/3.784, allocations: 4 kB / 1.023 GB, free: 1.043 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)