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.563/2.563, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001484/0.001483, allocations: 177 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 89.67 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004796, allocations: 13.36 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2174, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.821/7.038, allocations: 2.113 GB / 3.091 GB, free: 139.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/7.038, allocations: 94.89 kB / 3.092 GB, free: 139.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.478/16.52, allocations: 1.651 GB / 4.742 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.214e-06/16.52, allocations: 2.5 kB / 4.742 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005006/16.52, allocations: 61.62 kB / 4.742 GB, free: 122.7 MB / 0.9948 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.01498/16.53, allocations: 3.171 MB / 4.746 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/16.53, allocations: 8.844 kB / 4.746 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000985/16.53, allocations: 210.6 kB / 4.746 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009769/16.54, allocations: 0.8119 MB / 4.747 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/16.56, allocations: 2.661 MB / 4.749 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/16.56, allocations: 113.4 kB / 4.749 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007115/16.56, allocations: 150.4 kB / 4.749 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/16.56, allocations: 1.583 MB / 4.751 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.948e-05/16.56, allocations: 1.969 kB / 4.751 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/16.56, allocations: 59.03 kB / 4.751 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-05/16.56, allocations: 52.33 kB / 4.751 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005895/16.57, allocations: 1.269 MB / 4.752 GB, free: 121.1 MB / 0.9948 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.01881/16.59, allocations: 7.415 MB / 4.76 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/16.59, allocations: 1.031 MB / 4.761 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/16.59, allocations: 115.9 kB / 4.761 GB, free: 117 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/16.59, allocations: 42.84 kB / 4.761 GB, free: 117 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002121/16.59, allocations: 229 kB / 4.761 GB, free: 117 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 7.384e-06/16.59, allocations: 1.062 kB / 4.761 GB, free: 117 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.009734/16.6, allocations: 1.599 MB / 4.762 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/16.6, allocations: 58.91 kB / 4.763 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/16.61, allocations: 1.512 MB / 4.764 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003264/16.61, allocations: 46.17 kB / 4.764 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/16.61, allocations: 0.9698 MB / 4.765 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/16.61, allocations: 270.1 kB / 4.765 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/16.61, allocations: 25.56 kB / 4.765 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001106/16.61, allocations: 344.7 kB / 4.766 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/16.61, allocations: 386.3 kB / 4.766 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/16.61, allocations: 0.8045 MB / 4.767 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/16.62, allocations: 496.4 kB / 4.767 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/16.62, allocations: 3.531 kB / 4.767 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006173/16.62, allocations: 1.424 MB / 4.769 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008844/16.62, allocations: 3.965 MB / 4.773 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/16.62, allocations: 11.59 kB / 4.773 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/16.62, allocations: 114.9 kB / 4.773 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/16.63, allocations: 260.1 kB / 4.773 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/16.63, allocations: 2.431 MB / 4.775 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/16.63, allocations: 139.2 kB / 4.775 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/16.64, allocations: 65.59 kB / 4.775 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/16.64, allocations: 3.656 kB / 4.775 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004637/16.64, allocations: 1.169 MB / 4.777 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/16.64, allocations: 7.812 kB / 4.777 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/16.64, allocations: 114.1 kB / 4.777 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/16.64, allocations: 231.5 kB / 4.777 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/16.65, allocations: 1.831 MB / 4.779 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/16.65, allocations: 136 kB / 4.779 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/16.65, allocations: 50.81 kB / 4.779 GB, free: 107.8 MB / 0.9948 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 () * Number of clocked 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.001883/16.65, allocations: 0.5824 MB / 4.779 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/16.65, allocations: 197 kB / 4.78 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/16.66, allocations: 1.159 MB / 4.781 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/16.66, allocations: 7.656 kB / 4.781 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/16.66, allocations: 3.953 kB / 4.781 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004453/16.66, allocations: 0.9727 MB / 4.782 GB, free: 107.2 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.01124/16.67, allocations: 2.956 MB / 4.785 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/16.67, allocations: 3.906 kB / 4.785 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/16.68, allocations: 191 kB / 4.785 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005673/16.68, allocations: 90.78 kB / 4.785 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/16.68, allocations: 27.53 kB / 4.785 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003595/16.68, allocations: 2.303 MB / 4.787 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/16.68, allocations: 7.125 kB / 4.787 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006849/16.69, allocations: 1.775 MB / 4.789 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/16.69, allocations: 351.7 kB / 4.789 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006516/16.69, allocations: 21.94 kB / 4.789 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/16.69, allocations: 125.8 kB / 4.789 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/16.69, allocations: 54.38 kB / 4.789 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/16.69, allocations: 33.39 kB / 4.789 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002759/16.7, allocations: 1.178 MB / 4.791 GB, free: 104 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.12e-07/16.7, allocations: 0 / 4.791 GB, free: 104 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007355/16.7, allocations: 1.38 MB / 4.792 GB, free: 103.9 MB / 0.9948 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 () * Number of clocked 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.0149/16.72, allocations: 6.724 MB / 4.799 GB, free: 101 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006971/16.72, allocations: 1.792 MB / 4.8 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/16.72, allocations: 2.188 kB / 4.8 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/16.73, allocations: 0.5614 MB / 4.801 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008689/16.74, allocations: 1.004 MB / 4.802 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/16.75, allocations: 11.78 MB / 4.813 GB, free: 91.62 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/16.75, allocations: 1.616 MB / 4.815 GB, free: 90.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003819/16.76, allocations: 482.2 kB / 4.815 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/16.76, allocations: 0.8325 MB / 4.816 GB, free: 90.87 MB / 0.9948 GB Notification: Performance of SimCode: time 1.252e-06/16.76, allocations: 0 / 4.816 GB, free: 90.87 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.231/16.99, allocations: 104.3 MB / 4.918 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/16.99, allocations: 251.1 kB / 4.918 GB, free: 86.31 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/24.77, allocations: 4 kB / 4.918 GB, free: 86.31 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)