Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001225/0.001226, allocations: 181.4 kB / 326.5 MB, free: 2.27 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.71/1.71, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0009548/0.0009551, allocations: 79.98 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 11.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2584, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.114/6.372, allocations: 2.186 GB / 3.086 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004211/6.373, allocations: 86.45 kB / 3.086 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.097/8.469, allocations: 0.659 GB / 3.745 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.725e-06/8.469, allocations: 0 / 3.745 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001789/8.469, allocations: 43.98 kB / 3.745 GB, free: 4.777 MB / 0.8855 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.01044/8.48, allocations: 1.953 MB / 3.747 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/8.48, allocations: 8.031 kB / 3.747 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005748/8.481, allocations: 143.5 kB / 3.747 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007425/8.488, allocations: 0.8838 MB / 3.748 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/8.493, allocations: 1.118 MB / 3.749 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/8.494, allocations: 73.94 kB / 3.749 GB, free: 492 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004257/8.494, allocations: 99.98 kB / 3.75 GB, free: 392 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7359/9.23, allocations: 1.529 MB / 3.751 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/9.23, allocations: 3.75 kB / 3.751 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/9.23, allocations: 40.27 kB / 3.751 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.467e-05/9.23, allocations: 49.3 kB / 3.751 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004928/9.235, allocations: 1.787 MB / 3.753 GB, free: 173.3 MB / 0.8855 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.01008/9.245, allocations: 4.792 MB / 3.758 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/9.25, allocations: 1.578 MB / 3.759 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/9.251, allocations: 0.9429 MB / 3.76 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002992/9.254, allocations: 0.8965 MB / 3.761 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=95): time 4.197e-06/9.254, allocations: 0 / 3.761 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.009295/9.264, allocations: 2.431 MB / 3.763 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/9.264, allocations: 62.83 kB / 3.763 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/9.266, allocations: 1.072 MB / 3.764 GB, free: 170.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/9.267, allocations: 47.77 kB / 3.764 GB, free: 170.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000704/9.267, allocations: 0.557 MB / 3.765 GB, free: 170 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004674/9.268, allocations: 326.9 kB / 3.765 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/9.268, allocations: 19.75 kB / 3.765 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001497/9.268, allocations: 346.4 kB / 3.766 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/9.27, allocations: 0.692 MB / 3.766 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/9.273, allocations: 0.9583 MB / 3.767 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/9.275, allocations: 0.7345 MB / 3.768 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/9.275, allocations: 1.156 kB / 3.768 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005238/9.28, allocations: 1.773 MB / 3.77 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/9.28, allocations: 6.469 kB / 3.77 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/9.28, allocations: 3.969 kB / 3.77 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.106e-05/9.28, allocations: 9.5 kB / 3.77 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/9.282, allocations: 339.2 kB / 3.77 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/9.282, allocations: 12.02 kB / 3.77 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/9.284, allocations: 260.2 kB / 3.77 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/9.285, allocations: 54.47 kB / 3.77 GB, free: 169.1 MB / 0.8855 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 ($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 (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009106/9.285, allocations: 336.1 kB / 3.771 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/9.286, allocations: 142.5 kB / 3.771 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/9.291, allocations: 1.833 MB / 3.773 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/9.291, allocations: 12.62 kB / 3.773 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/9.291, allocations: 3.219 kB / 3.773 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/9.291, allocations: 3.938 kB / 3.773 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007577/9.298, allocations: 3.426 MB / 3.776 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/9.298, allocations: 4.312 kB / 3.776 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/9.3, allocations: 300.5 kB / 3.776 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/9.3, allocations: 11 kB / 3.776 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/9.3, allocations: 38.27 kB / 3.776 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/9.3, allocations: 9.281 kB / 3.776 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/9.3, allocations: 4.781 kB / 3.776 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007071/9.307, allocations: 3.079 MB / 3.779 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/9.309, allocations: 362.4 kB / 3.78 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/9.309, allocations: 29.77 kB / 3.78 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/9.31, allocations: 178.2 kB / 3.78 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/9.311, allocations: 74.28 kB / 3.78 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.854e-05/9.311, allocations: 44.92 kB / 3.78 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001223/9.312, allocations: 0.8366 MB / 3.781 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/9.312, allocations: 3.031 kB / 3.781 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002515/9.314, allocations: 0.5115 MB / 3.781 GB, free: 167.4 MB / 0.8855 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01161/9.326, allocations: 6.628 MB / 3.788 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005125/9.331, allocations: 1.614 MB / 3.789 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/9.331, allocations: 0 / 3.789 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/9.334, allocations: 0.8372 MB / 3.79 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/9.337, allocations: 0.5883 MB / 3.791 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/9.363, allocations: 12.24 MB / 3.803 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/9.363, allocations: 1.222 MB / 3.804 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001973/9.365, allocations: 378.9 kB / 3.804 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/9.366, allocations: 0.5078 MB / 3.805 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/9.366, allocations: 0 / 3.805 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/9.471, allocations: 60.5 MB / 3.864 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/9.471, allocations: 228 kB / 3.864 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.486/13.96, allocations: 0 / 3.864 GB, free: 156.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)