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.29/1.29, allocations: 251.5 MB / 266.7 MB, free: 10.99 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.0009708/0.0009708, allocations: 178.1 kB / 325.8 MB, free: 2.66 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.36/1.36, allocations: 205 MB / 0.576 GB, free: 20.56 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.0007931/0.0007931, allocations: 88.34 kB / 0.6797 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 10.41 kB / 0.7933 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 105.4 MB / 0.8962 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01685/0.1635, allocations: 28.88 MB / 0.9244 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006042/0.1696, allocations: 6.731 MB / 0.931 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005123/0.1701, allocations: 43.69 kB / 0.931 GB, free: 31.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009064/0.171, allocations: 0.6027 MB / 0.9316 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1728, allocations: 1.322 MB / 0.9329 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1744, allocations: 1.048 MB / 0.9339 GB, free: 28.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.1761, allocations: 3.198 MB / 0.937 GB, free: 25.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005886/0.1767, allocations: 0.6996 MB / 0.9377 GB, free: 24.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009042/0.1776, allocations: 0.9489 MB / 0.9387 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.1782, allocations: 0.8129 MB / 0.9394 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.1783, allocations: 36 kB / 0.9395 GB, free: 23.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009798/0.1793, allocations: 0.7638 MB / 0.9402 GB, free: 22.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1794, allocations: 258.9 kB / 0.9405 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.1797, allocations: 0.5202 MB / 0.941 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.1808, allocations: 1.565 MB / 0.9425 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1808, allocations: 0 / 0.9425 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1808, allocations: 4 kB / 0.9425 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.1809, allocations: 0 / 0.9425 GB, free: 19.96 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.001634/0.1825, allocations: 1.376 MB / 0.9439 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1825, allocations: 15.91 kB / 0.9439 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.1826, allocations: 118.6 kB / 0.944 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.1856, allocations: 0.6314 MB / 0.9446 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.1864, allocations: 0.8097 MB / 0.9454 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.1864, allocations: 62.12 kB / 0.9455 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.1865, allocations: 76 kB / 0.9455 GB, free: 16.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.1883, allocations: 1.107 MB / 0.9466 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1883, allocations: 4 kB / 0.9466 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.1884, allocations: 32 kB / 0.9466 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1884, allocations: 19.98 kB / 0.9467 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.1909, allocations: 1.035 MB / 0.9477 GB, free: 14.48 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.003598/0.1945, allocations: 4.975 MB / 0.9525 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.1968, allocations: 0.9551 MB / 0.9535 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.198, allocations: 0.4904 MB / 0.9539 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007829/0.1988, allocations: 1.608 MB / 0.9555 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.2001, allocations: 0.5807 MB / 0.9561 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.2001, allocations: 0 / 0.9561 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.00366/0.2037, allocations: 1.528 MB / 0.9576 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.2038, allocations: 55.97 kB / 0.9576 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.2046, allocations: 1.125 MB / 0.9587 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.2046, allocations: 41.7 kB / 0.9588 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.2049, allocations: 0.5474 MB / 0.9593 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.205, allocations: 217 kB / 0.9595 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.2051, allocations: 65.67 kB / 0.9596 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.2051, allocations: 338 kB / 0.9599 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.2063, allocations: 461.6 kB / 0.9603 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.2076, allocations: 0.7436 MB / 0.9611 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.2102, allocations: 1.148 MB / 0.9622 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2102, allocations: 4 kB / 0.9622 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002988/0.2132, allocations: 1.294 MB / 0.9634 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2132, allocations: 8 kB / 0.9634 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2132, allocations: 12.09 kB / 0.9635 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2133, allocations: 12 kB / 0.9635 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2143, allocations: 275.6 kB / 0.9637 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.2143, allocations: 19.92 kB / 0.9638 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.2154, allocations: 206.9 kB / 0.9639 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/0.2155, allocations: 47.97 kB / 0.964 GB, free: 12.8 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 ($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.0003175/0.2158, allocations: 295.8 kB / 0.9643 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.2159, allocations: 126.4 kB / 0.9644 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.2192, allocations: 1.379 MB / 0.9657 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2192, allocations: 8 kB / 0.9658 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2192, allocations: 7.922 kB / 0.9658 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2192, allocations: 7.984 kB / 0.9658 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.2234, allocations: 2.405 MB / 0.9681 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2234, allocations: 4 kB / 0.9681 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.2243, allocations: 191.9 kB / 0.9683 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.2243, allocations: 4 kB / 0.9683 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.2244, allocations: 27.97 kB / 0.9683 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.2244, allocations: 11.88 kB / 0.9683 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2244, allocations: 7.938 kB / 0.9684 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/0.2288, allocations: 2.001 MB / 0.9703 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.2291, allocations: 283.3 kB / 0.9706 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.2292, allocations: 19.98 kB / 0.9706 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/0.2301, allocations: 123.9 kB / 0.9707 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.2302, allocations: 56.42 kB / 0.9708 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.2303, allocations: 31.97 kB / 0.9708 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007222/0.231, allocations: 0.772 MB / 0.9716 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.231, allocations: 0 / 0.9716 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007722/0.2318, allocations: 343.6 kB / 0.9719 GB, free: 4.566 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.005816/0.2376, allocations: 3.114 MB / 0.9749 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.2404, allocations: 1.134 MB / 0.976 GB, free: 444 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2404, allocations: 0 / 0.976 GB, free: 444 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.2419, allocations: 0.5814 MB / 0.9766 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.2438, allocations: 453 kB / 0.977 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.2597, allocations: 10.66 MB / 0.9874 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.2602, allocations: 1.108 MB / 0.9885 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008544/0.2611, allocations: 252.8 kB / 0.9888 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.2616, allocations: 471.2 kB / 0.9892 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.2616, allocations: 0 / 0.9892 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8479/1.11, allocations: 29.53 MB / 1.018 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.11, allocations: 256.2 kB / 1.018 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/4.25, allocations: 0 / 1.018 GB, free: 4.785 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)