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.8278/0.8278, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.001031, allocations: 196.7 kB / 169.7 MB, free: 1.73 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.837/1.837, allocations: 205.1 MB / 404.5 MB, free: 1.68 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.001091/0.001091, allocations: 91.06 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.384e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1841, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.806/5.99, allocations: 2.191 GB / 2.819 GB, free: 83.88 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/5.99, allocations: 90.08 kB / 2.82 GB, free: 83.83 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.614/12.6, allocations: 1.633 GB / 4.453 GB, free: 76.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/12.6, allocations: 1.156 kB / 4.453 GB, free: 76.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004655/12.6, allocations: 59.78 kB / 4.453 GB, free: 76.61 MB / 0.7136 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.01002/12.61, allocations: 2.509 MB / 4.456 GB, free: 75.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/12.61, allocations: 9.531 kB / 4.456 GB, free: 75.94 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006101/12.62, allocations: 200.3 kB / 4.456 GB, free: 75.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00804/12.62, allocations: 0.8872 MB / 4.457 GB, free: 75.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/12.63, allocations: 2.711 MB / 4.459 GB, free: 75.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/12.63, allocations: 109.7 kB / 4.459 GB, free: 75.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/12.63, allocations: 148.5 kB / 4.459 GB, free: 75.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/12.64, allocations: 1.587 MB / 4.461 GB, free: 75.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/12.64, allocations: 6.25 kB / 4.461 GB, free: 75.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/12.64, allocations: 64.06 kB / 4.461 GB, free: 75.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/12.64, allocations: 52.58 kB / 4.461 GB, free: 75.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/12.64, allocations: 1.216 MB / 4.462 GB, free: 75.11 MB / 0.7136 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.01422/12.65, allocations: 7.412 MB / 4.47 GB, free: 71.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/12.66, allocations: 1.067 MB / 4.471 GB, free: 71.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007805/12.66, allocations: 415.3 kB / 4.471 GB, free: 71.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/12.66, allocations: 116.7 kB / 4.471 GB, free: 71.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/12.66, allocations: 41.94 kB / 4.471 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001754/12.66, allocations: 219.2 kB / 4.471 GB, free: 71.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=77): time 4.458e-06/12.66, allocations: 0 / 4.471 GB, free: 71.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77): time 0.004048/12.66, allocations: 1.096 MB / 4.472 GB, free: 70.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/12.66, allocations: 62.83 kB / 4.473 GB, free: 70.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/12.67, allocations: 1.493 MB / 4.474 GB, free: 70.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/12.67, allocations: 48.53 kB / 4.474 GB, free: 70.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008847/12.67, allocations: 0.9799 MB / 4.475 GB, free: 70.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/12.67, allocations: 275.4 kB / 4.475 GB, free: 70.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/12.67, allocations: 19.66 kB / 4.475 GB, free: 70.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001044/12.67, allocations: 348.4 kB / 4.476 GB, free: 69.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/12.67, allocations: 337.7 kB / 4.476 GB, free: 69.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/12.67, allocations: 0.7405 MB / 4.477 GB, free: 69.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/12.67, allocations: 453.5 kB / 4.477 GB, free: 69.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/12.67, allocations: 2.938 kB / 4.477 GB, free: 69.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003096/12.67, allocations: 1.319 MB / 4.478 GB, free: 69.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008313/12.68, allocations: 3.872 MB / 4.482 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/12.68, allocations: 13.83 kB / 4.482 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/12.68, allocations: 108.8 kB / 4.482 GB, free: 65.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/12.68, allocations: 299.2 kB / 4.483 GB, free: 65.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/12.68, allocations: 2.339 MB / 4.485 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/12.68, allocations: 144.9 kB / 4.485 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/12.68, allocations: 59.7 kB / 4.485 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/12.68, allocations: 3.281 kB / 4.485 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002242/12.68, allocations: 1.058 MB / 4.486 GB, free: 63.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/12.68, allocations: 13.17 kB / 4.486 GB, free: 63.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/12.69, allocations: 104.1 kB / 4.486 GB, free: 63.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008957/12.69, allocations: 234.9 kB / 4.486 GB, free: 63.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/12.69, allocations: 1.773 MB / 4.488 GB, free: 61.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/12.69, allocations: 132 kB / 4.488 GB, free: 61.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/12.69, allocations: 49.95 kB / 4.488 GB, free: 61.92 MB / 0.7136 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 () * 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.000341/12.69, allocations: 169.4 kB / 4.488 GB, free: 61.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/12.69, allocations: 199 kB / 4.489 GB, free: 61.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/12.69, allocations: 1.06 MB / 4.49 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/12.69, allocations: 7.562 kB / 4.49 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/12.69, allocations: 2.844 kB / 4.49 GB, free: 61.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/12.69, allocations: 0.8859 MB / 4.491 GB, free: 61.44 MB / 0.7136 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.005252/12.7, allocations: 2.705 MB / 4.493 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/12.7, allocations: 3.094 kB / 4.493 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/12.7, allocations: 247.8 kB / 4.493 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/12.7, allocations: 88.67 kB / 4.494 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/12.7, allocations: 24.64 kB / 4.494 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/12.7, allocations: 2.977 MB / 4.496 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/12.7, allocations: 0.9688 kB / 4.496 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/12.71, allocations: 1.618 MB / 4.498 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/12.71, allocations: 340.7 kB / 4.498 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/12.71, allocations: 20.72 kB / 4.498 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/12.71, allocations: 146.5 kB / 4.499 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/12.71, allocations: 56.95 kB / 4.499 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.838e-05/12.71, allocations: 32.59 kB / 4.499 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001795/12.71, allocations: 1.163 MB / 4.5 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.242e-06/12.71, allocations: 3.188 kB / 4.5 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004998/12.72, allocations: 1.338 MB / 4.501 GB, free: 57.53 MB / 0.7136 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 () * 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.009207/12.73, allocations: 6.558 MB / 4.507 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003883/12.73, allocations: 1.743 MB / 4.509 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/12.73, allocations: 0 / 4.509 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/12.73, allocations: 0.5648 MB / 4.51 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/12.74, allocations: 0.9946 MB / 4.511 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/12.74, allocations: 3.197 MB / 4.514 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/12.74, allocations: 1.622 MB / 4.515 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003269/12.75, allocations: 0.7263 MB / 4.516 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/12.75, allocations: 0.8191 MB / 4.517 GB, free: 52.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.493e-06/12.75, allocations: 0.9375 kB / 4.517 GB, free: 52.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1922/12.94, allocations: 117.9 MB / 4.632 GB, free: 46.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/12.94, allocations: 229.5 kB / 4.632 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.267/19.21, allocations: 0 / 4.632 GB, free: 45.95 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)