Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001332/0.001332, allocations: 197.4 kB / 16.14 MB, free: 6.664 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.317/1.317, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.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.001632/0.001633, allocations: 79.5 kB / 0.6709 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1927, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5512/0.7439, allocations: 191.6 MB / 0.9699 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007925/0.7519, allocations: 5.057 MB / 0.9748 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.7534, allocations: 46.75 kB / 0.9749 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.7552, allocations: 0.7131 MB / 0.9755 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.7609, allocations: 2.423 MB / 0.9779 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.7634, allocations: 1.019 MB / 0.9789 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003827/0.7672, allocations: 3.589 MB / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.7686, allocations: 0.8392 MB / 0.9832 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.7706, allocations: 1.03 MB / 0.9842 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.7721, allocations: 1.032 MB / 0.9852 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.7723, allocations: 56.56 kB / 0.9853 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.7762, allocations: 2.072 MB / 0.9873 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.7766, allocations: 433 kB / 0.9877 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007617/0.7774, allocations: 0.641 MB / 0.9884 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.7808, allocations: 2.282 MB / 0.9906 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7809, allocations: 0 / 0.9906 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7809, allocations: 0 / 0.9906 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.7809, allocations: 0 / 0.9906 GB, free: 3.953 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005667/0.7866, allocations: 1.976 MB / 0.9925 GB, free: 19 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7866, allocations: 10.44 kB / 0.9925 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.7868, allocations: 139.3 kB / 0.9927 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005541/0.7924, allocations: 0.8946 MB / 0.9935 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.7939, allocations: 0.9182 MB / 0.9944 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.794, allocations: 72.03 kB / 0.9945 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.7942, allocations: 92.91 kB / 0.9946 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.7975, allocations: 1.586 MB / 0.9961 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.7976, allocations: 0 / 0.9961 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.7977, allocations: 35.89 kB / 0.9962 GB, free: 18 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.7977, allocations: 54.42 kB / 0.9962 GB, free: 18 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/0.8026, allocations: 1.849 MB / 0.998 GB, free: 17.5 MB / 0.7481 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.007398/0.81, allocations: 4.749 MB / 1.003 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.8143, allocations: 1.557 MB / 1.004 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.8166, allocations: 0.8574 MB / 1.005 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.8179, allocations: 0.9476 MB / 1.006 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002495/0.8204, allocations: 0.9132 MB / 1.007 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 4.689e-06/0.8204, allocations: 0 / 1.007 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007531/0.828, allocations: 2.458 MB / 1.009 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.828, allocations: 67.27 kB / 1.009 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.8294, allocations: 1.202 MB / 1.01 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.8296, allocations: 45.64 kB / 1.011 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.83, allocations: 0.5532 MB / 1.011 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.8304, allocations: 328.3 kB / 1.011 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.8307, allocations: 188.5 kB / 1.012 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8308, allocations: 348.2 kB / 1.012 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.833, allocations: 0.6939 MB / 1.013 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.8353, allocations: 0.9303 MB / 1.013 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/0.8395, allocations: 1.553 MB / 1.015 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8395, allocations: 1.969 kB / 1.015 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004769/0.8443, allocations: 1.785 MB / 1.017 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8443, allocations: 4.875 kB / 1.017 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8444, allocations: 5.688 kB / 1.017 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8444, allocations: 12.47 kB / 1.017 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.8461, allocations: 340.2 kB / 1.017 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.8461, allocations: 9.781 kB / 1.017 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.8479, allocations: 261 kB / 1.017 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.8481, allocations: 49.89 kB / 1.017 GB, free: 5.52 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.000606/0.8487, allocations: 337 kB / 1.018 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.849, allocations: 142.8 kB / 1.018 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/0.8541, allocations: 1.803 MB / 1.02 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.8541, allocations: 8.281 kB / 1.02 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8541, allocations: 0 / 1.02 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.8541, allocations: 3.984 kB / 1.02 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007354/0.8615, allocations: 3.338 MB / 1.023 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.8615, allocations: 8.75 kB / 1.023 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.8632, allocations: 285.6 kB / 1.023 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.8632, allocations: 10.31 kB / 1.023 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.717e-05/0.8633, allocations: 32.09 kB / 1.023 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.8634, allocations: 9.906 kB / 1.023 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8634, allocations: 4.906 kB / 1.023 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007066/0.8704, allocations: 2.842 MB / 1.026 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.8711, allocations: 326.5 kB / 1.026 GB, free: 292 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.8713, allocations: 25.53 kB / 1.026 GB, free: 276 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.8727, allocations: 175.4 kB / 1.026 GB, free: 196 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.8729, allocations: 77.28 kB / 1.027 GB, free: 152 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.873, allocations: 38.47 kB / 1.027 GB, free: 140 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001055/0.874, allocations: 0.8393 MB / 1.027 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/0.874, allocations: 0.9375 kB / 1.027 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001007/0.8751, allocations: 339.8 kB / 1.028 GB, free: 15.65 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.008526/0.8836, allocations: 3.833 MB / 1.031 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004788/0.8884, allocations: 1.623 MB / 1.033 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.8884, allocations: 4.25 kB / 1.033 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002365/0.8908, allocations: 0.8413 MB / 1.034 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.8937, allocations: 0.6155 MB / 1.035 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/0.9188, allocations: 13.29 MB / 1.047 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.9195, allocations: 1.187 MB / 1.049 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001694/0.9212, allocations: 366.2 kB / 1.049 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008132/0.922, allocations: 0.5032 MB / 1.049 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.9221, allocations: 0 / 1.049 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/0.9777, allocations: 34.67 MB / 1.083 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.978, allocations: 250.8 kB / 1.084 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.579, allocations: 0 / 1.084 GB, free: 6.723 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)