Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.427/2.427, allocations: 284.7 MB / 297.2 MB, free: 6.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 176.9 kB / 365.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.1 MB / 0.6239 GB, free: 8.234 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001135, allocations: 97.47 kB / 0.7371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.375e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8081, allocations: 115.2 MB / 0.9699 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.609/7.418, allocations: 2.113 GB / 3.083 GB, free: 283.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/7.418, allocations: 90.58 kB / 3.083 GB, free: 283.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.511/15.93, allocations: 1.649 GB / 4.732 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.274e-06/15.93, allocations: 0 / 4.732 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004731/15.93, allocations: 62.12 kB / 4.732 GB, free: 114.9 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.009367/15.94, allocations: 2.51 MB / 4.735 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/15.94, allocations: 9.156 kB / 4.735 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006746/15.94, allocations: 197.3 kB / 4.735 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009075/15.95, allocations: 0.8143 MB / 4.736 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/15.96, allocations: 2.645 MB / 4.738 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/15.96, allocations: 111.2 kB / 4.739 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005318/15.96, allocations: 146.6 kB / 4.739 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/15.97, allocations: 1.514 MB / 4.74 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/15.97, allocations: 7.75 kB / 4.74 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/15.97, allocations: 56.41 kB / 4.74 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/15.97, allocations: 46.77 kB / 4.74 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/15.97, allocations: 1.148 MB / 4.741 GB, free: 112.6 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.01721/15.99, allocations: 7.433 MB / 4.749 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/15.99, allocations: 0.9352 MB / 4.75 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/15.99, allocations: 420.6 kB / 4.75 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/15.99, allocations: 119.5 kB / 4.75 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/15.99, allocations: 44.59 kB / 4.75 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001849/15.99, allocations: 226.4 kB / 4.75 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 5.751e-06/15.99, allocations: 0 / 4.75 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.00416/16, allocations: 0.9881 MB / 4.751 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/16, allocations: 61.78 kB / 4.751 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/16, allocations: 1.486 MB / 4.753 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003222/16, allocations: 49.2 kB / 4.753 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/16, allocations: 0.9672 MB / 4.754 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/16, allocations: 275.2 kB / 4.754 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.775e-05/16, allocations: 19.62 kB / 4.754 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001018/16, allocations: 348.9 kB / 4.754 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008775/16, allocations: 329.5 kB / 4.755 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/16, allocations: 0.7557 MB / 4.755 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/16.01, allocations: 449.6 kB / 4.756 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/16.01, allocations: 3.875 kB / 4.756 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004476/16.01, allocations: 1.308 MB / 4.757 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009753/16.01, allocations: 3.961 MB / 4.761 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/16.01, allocations: 15.03 kB / 4.761 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006511/16.01, allocations: 109.2 kB / 4.761 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/16.01, allocations: 261.3 kB / 4.761 GB, free: 99.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/16.02, allocations: 2.371 MB / 4.764 GB, free: 97.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/16.02, allocations: 131.3 kB / 4.764 GB, free: 97.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/16.02, allocations: 59.08 kB / 4.764 GB, free: 97.57 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/16.02, allocations: 6.906 kB / 4.764 GB, free: 97.57 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003632/16.02, allocations: 1.07 MB / 4.765 GB, free: 97.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-05/16.02, allocations: 9.812 kB / 4.765 GB, free: 97.17 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/16.03, allocations: 105.9 kB / 4.765 GB, free: 97.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/16.03, allocations: 231.6 kB / 4.765 GB, free: 97.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/16.03, allocations: 1.778 MB / 4.767 GB, free: 95.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/16.03, allocations: 133 kB / 4.767 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/16.03, allocations: 59.17 kB / 4.767 GB, free: 95.57 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004315/16.03, allocations: 180.8 kB / 4.767 GB, free: 95.41 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/16.03, allocations: 191.1 kB / 4.768 GB, free: 95.31 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/16.04, allocations: 1.045 MB / 4.769 GB, free: 94.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/16.04, allocations: 9.531 kB / 4.769 GB, free: 94.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/16.04, allocations: 10.42 kB / 4.769 GB, free: 94.89 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002683/16.04, allocations: 0.864 MB / 4.769 GB, free: 94.48 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.008387/16.05, allocations: 2.854 MB / 4.772 GB, free: 93.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/16.05, allocations: 3.875 kB / 4.772 GB, free: 93.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/16.05, allocations: 185 kB / 4.772 GB, free: 93.03 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/16.05, allocations: 89.64 kB / 4.772 GB, free: 93 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/16.05, allocations: 26.62 kB / 4.773 GB, free: 92.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/16.05, allocations: 2.245 MB / 4.775 GB, free: 90.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/16.05, allocations: 7.219 kB / 4.775 GB, free: 90.93 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/16.06, allocations: 1.621 MB / 4.776 GB, free: 90.06 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/16.06, allocations: 354 kB / 4.777 GB, free: 89.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/16.06, allocations: 15.44 kB / 4.777 GB, free: 89.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/16.06, allocations: 130.4 kB / 4.777 GB, free: 89.78 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/16.06, allocations: 53.12 kB / 4.777 GB, free: 89.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/16.06, allocations: 34.06 kB / 4.777 GB, free: 89.76 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0026/16.07, allocations: 1.166 MB / 4.778 GB, free: 89.27 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.32e-07/16.07, allocations: 0 / 4.778 GB, free: 89.27 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006495/16.07, allocations: 1.368 MB / 4.779 GB, free: 88.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01279/16.09, allocations: 6.581 MB / 4.786 GB, free: 84.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004875/16.09, allocations: 1.71 MB / 4.787 GB, free: 83.07 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/16.09, allocations: 4.062 kB / 4.787 GB, free: 83.07 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/16.09, allocations: 0.5108 MB / 4.788 GB, free: 82.57 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008266/16.1, allocations: 0.9902 MB / 4.789 GB, free: 81.85 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/16.11, allocations: 3.21 MB / 4.792 GB, free: 78.97 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/16.11, allocations: 1.616 MB / 4.794 GB, free: 77.66 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005176/16.12, allocations: 0.7251 MB / 4.794 GB, free: 77.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/16.12, allocations: 0.8109 MB / 4.795 GB, free: 76.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.723e-06/16.12, allocations: 0 / 4.795 GB, free: 76.43 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.053/17.17, allocations: 116.7 MB / 4.909 GB, free: 138.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/17.17, allocations: 220.7 kB / 4.909 GB, free: 138.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/25.14, allocations: 3.938 kB / 4.909 GB, free: 138.3 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)