Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7259/0.7259, allocations: 128.7 MB / 143.7 MB, free: 2.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 185.8 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000963/0.000963, allocations: 88.59 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.000341, allocations: 10.59 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.094/5.253, allocations: 2.191 GB / 2.827 GB, free: 180.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/5.253, allocations: 103 kB / 2.827 GB, free: 180.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.568/10.82, allocations: 1.635 GB / 4.462 GB, free: 56.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/10.82, allocations: 0 / 4.462 GB, free: 56.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003934/10.82, allocations: 60.2 kB / 4.462 GB, free: 56.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.01021/10.83, allocations: 3.171 MB / 4.465 GB, free: 54.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/10.83, allocations: 14.5 kB / 4.465 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007748/10.83, allocations: 200 kB / 4.465 GB, free: 54.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00655/10.84, allocations: 0.8788 MB / 4.466 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008512/10.85, allocations: 2.75 MB / 4.469 GB, free: 53.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/10.85, allocations: 115.5 kB / 4.469 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/10.85, allocations: 147.6 kB / 4.469 GB, free: 53.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004843/10.85, allocations: 1.667 MB / 4.471 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/10.85, allocations: 0 / 4.471 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/10.85, allocations: 57.44 kB / 4.471 GB, free: 52.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/10.85, allocations: 45.81 kB / 4.471 GB, free: 52.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/10.86, allocations: 1.354 MB / 4.472 GB, free: 51.89 MB / 0.698 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.00966/10.87, allocations: 7.417 MB / 4.479 GB, free: 45.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/10.87, allocations: 1.165 MB / 4.48 GB, free: 43.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/10.87, allocations: 108.3 kB / 4.481 GB, free: 43.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/10.87, allocations: 43.25 kB / 4.481 GB, free: 43.8 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/10.87, allocations: 226.3 kB / 4.481 GB, free: 43.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.246e-06/10.87, allocations: 0 / 4.481 GB, free: 43.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.005821/10.88, allocations: 1.721 MB / 4.483 GB, free: 42.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/10.88, allocations: 64.06 kB / 4.483 GB, free: 41.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/10.88, allocations: 1.516 MB / 4.484 GB, free: 40.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/10.88, allocations: 45.7 kB / 4.484 GB, free: 40.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/10.88, allocations: 0.984 MB / 4.485 GB, free: 39.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/10.88, allocations: 272 kB / 4.485 GB, free: 39.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/10.88, allocations: 20 kB / 4.485 GB, free: 39.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/10.88, allocations: 345.9 kB / 4.486 GB, free: 38.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008989/10.88, allocations: 402 kB / 4.486 GB, free: 38.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/10.88, allocations: 0.8038 MB / 4.487 GB, free: 37.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/10.88, allocations: 0.4988 MB / 4.487 GB, free: 36.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/10.88, allocations: 4 kB / 4.487 GB, free: 36.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00327/10.89, allocations: 1.449 MB / 4.489 GB, free: 35.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007127/10.89, allocations: 3.87 MB / 4.493 GB, free: 31.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/10.89, allocations: 8 kB / 4.493 GB, free: 31.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/10.89, allocations: 108.8 kB / 4.493 GB, free: 30.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/10.89, allocations: 295.5 kB / 4.493 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/10.89, allocations: 2.419 MB / 4.495 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/10.89, allocations: 151.6 kB / 4.495 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/10.89, allocations: 59.97 kB / 4.496 GB, free: 27.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/10.89, allocations: 4 kB / 4.496 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002384/10.9, allocations: 1.153 MB / 4.497 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/10.9, allocations: 8.281 kB / 4.497 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/10.9, allocations: 119.7 kB / 4.497 GB, free: 26.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/10.9, allocations: 227.7 kB / 4.497 GB, free: 26.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/10.9, allocations: 1.825 MB / 4.499 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/10.9, allocations: 131.7 kB / 4.499 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/10.9, allocations: 51.98 kB / 4.499 GB, free: 24.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (121): * Single equations (assignments): 117 * 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.001273/10.9, allocations: 0.5839 MB / 4.499 GB, free: 23.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/10.9, allocations: 196.9 kB / 4.5 GB, free: 23.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/10.91, allocations: 1.178 MB / 4.501 GB, free: 22.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/10.91, allocations: 8 kB / 4.501 GB, free: 22.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/10.91, allocations: 0 / 4.501 GB, free: 22.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002373/10.91, allocations: 1.008 MB / 4.502 GB, free: 21.25 MB / 0.698 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.006236/10.92, allocations: 2.83 MB / 4.505 GB, free: 18.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/10.92, allocations: 0 / 4.505 GB, free: 18.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/10.92, allocations: 252 kB / 4.505 GB, free: 18.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003216/10.92, allocations: 100.8 kB / 4.505 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/10.92, allocations: 23.98 kB / 4.505 GB, free: 17.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/10.92, allocations: 3.07 MB / 4.508 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/10.92, allocations: 4.031 kB / 4.508 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/10.92, allocations: 1.801 MB / 4.51 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/10.93, allocations: 346.6 kB / 4.51 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/10.93, allocations: 24 kB / 4.51 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/10.93, allocations: 135.7 kB / 4.51 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/10.93, allocations: 56.52 kB / 4.51 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/10.93, allocations: 31.97 kB / 4.51 GB, free: 12.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001723/10.93, allocations: 1.177 MB / 4.511 GB, free: 10.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/10.93, allocations: 4 kB / 4.511 GB, free: 10.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004462/10.93, allocations: 1.338 MB / 4.513 GB, free: 9.629 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (75): * Single equations (assignments): 73 * 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.009679/10.94, allocations: 6.753 MB / 4.519 GB, free: 2.562 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004617/10.95, allocations: 1.837 MB / 4.521 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/10.95, allocations: 4 kB / 4.521 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/10.95, allocations: 0.6163 MB / 4.522 GB, free: 72 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/10.95, allocations: 0.9988 MB / 4.523 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/10.97, allocations: 11.62 MB / 4.534 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/10.97, allocations: 1.617 MB / 4.536 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002571/10.97, allocations: 487.7 kB / 4.536 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/10.97, allocations: 0.8468 MB / 4.537 GB, free: 280 kB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/10.97, allocations: 0 / 4.537 GB, free: 280 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6056/11.58, allocations: 105.3 MB / 4.64 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/11.58, allocations: 267.4 kB / 4.64 GB, free: 70.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.419/17, allocations: 0 / 4.64 GB, free: 70.12 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)