Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IBPSA_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 107.2 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7156/0.7156, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.41 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1607, allocations: 76.17 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7199/0.8807, allocations: 325 MB / 0.949 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0363/0.917, allocations: 22.27 MB / 0.9708 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005501/0.9226, allocations: 95.5 kB / 0.9709 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007509/0.9302, allocations: 2.371 MB / 0.9732 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.9421, allocations: 4.514 MB / 0.9776 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006083/0.9482, allocations: 2.572 MB / 0.9801 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01701/0.9652, allocations: 12.16 MB / 0.992 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003573/0.9688, allocations: 2.239 MB / 0.9942 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007473/0.9763, allocations: 3.269 MB / 0.9973 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/0.98, allocations: 1.877 MB / 0.9992 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000428/0.9804, allocations: 240 kB / 0.9994 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007225/0.9877, allocations: 3.874 MB / 1.003 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.9888, allocations: 1.153 MB / 1.004 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.9908, allocations: 1.71 MB / 1.006 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008365/0.9992, allocations: 5.842 MB / 1.012 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9992, allocations: 0 / 1.012 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9992, allocations: 0 / 1.012 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.388e-05/0.9993, allocations: 4 kB / 1.012 GB, free: 6.918 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.006794/1.006, allocations: 3.809 MB / 1.015 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.006, allocations: 8.031 kB / 1.015 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/1.006, allocations: 202.8 kB / 1.016 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006564/1.013, allocations: 1.104 MB / 1.017 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006686/1.02, allocations: 4.037 MB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/1.02, allocations: 114.7 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/1.02, allocations: 156 kB / 1.021 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/1.023, allocations: 1.715 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/1.023, allocations: 0 / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.023, allocations: 56 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/1.024, allocations: 54.53 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/1.027, allocations: 1.447 MB / 1.024 GB, free: 9.98 MB / 0.7794 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.01254/1.04, allocations: 8.653 MB / 1.033 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/1.042, allocations: 1.027 MB / 1.034 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/1.043, allocations: 0.5022 MB / 1.034 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/1.043, allocations: 109.9 kB / 1.034 GB, free: 15.01 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/1.043, allocations: 51.06 kB / 1.034 GB, free: 14.95 MB / 0.795 GB Notification: Performance of pre-optimization done (n=70): time 2.384e-06/1.043, allocations: 0 / 1.034 GB, free: 14.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=70): time 0.004541/1.048, allocations: 1.456 MB / 1.036 GB, free: 13.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.048, allocations: 63.97 kB / 1.036 GB, free: 13.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/1.054, allocations: 2.983 MB / 1.039 GB, free: 10.42 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/1.054, allocations: 45.7 kB / 1.039 GB, free: 10.37 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/1.055, allocations: 1.268 MB / 1.04 GB, free: 9.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/1.056, allocations: 256.4 kB / 1.04 GB, free: 8.836 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008961/1.057, allocations: 435 kB / 1.041 GB, free: 8.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.057, allocations: 305.1 kB / 1.041 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/1.058, allocations: 0.8129 MB / 1.042 GB, free: 7.289 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/1.06, allocations: 1.322 MB / 1.043 GB, free: 5.773 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/1.064, allocations: 1.899 MB / 1.045 GB, free: 3.723 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.064, allocations: 4 kB / 1.045 GB, free: 3.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004744/1.068, allocations: 2.393 MB / 1.047 GB, free: 1.312 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.069, allocations: 23.97 kB / 1.047 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/1.069, allocations: 8 kB / 1.047 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/1.069, allocations: 20 kB / 1.047 GB, free: 1.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.07, allocations: 387.4 kB / 1.048 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004478/1.071, allocations: 0.6132 MB / 1.048 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/1.073, allocations: 234.1 kB / 1.048 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3277/1.401, allocations: 69.8 kB / 1.048 GB, free: 324.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0031/1.404, allocations: 1.43 MB / 1.05 GB, free: 324.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001742/1.406, allocations: 1.293 MB / 1.051 GB, free: 323.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002804/1.408, allocations: 1.862 MB / 1.053 GB, free: 323.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-05/1.408, allocations: 6.562 kB / 1.053 GB, free: 323.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004583/1.413, allocations: 2.35 MB / 1.055 GB, free: 322.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.413, allocations: 10.44 kB / 1.055 GB, free: 322.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.413, allocations: 13.56 kB / 1.055 GB, free: 322.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.413, allocations: 19.36 kB / 1.055 GB, free: 322.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.414, allocations: 363.6 kB / 1.056 GB, free: 322.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/1.414, allocations: 24.94 kB / 1.056 GB, free: 322.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/1.416, allocations: 188 kB / 1.056 GB, free: 322.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.416, allocations: 67.47 kB / 1.056 GB, free: 322.4 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003598/1.417, allocations: 269 kB / 1.056 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/1.417, allocations: 267.9 kB / 1.056 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/1.42, allocations: 1.124 MB / 1.057 GB, free: 321.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.42, allocations: 8.5 kB / 1.057 GB, free: 321.7 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.42, allocations: 3.375 kB / 1.057 GB, free: 321.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002392/1.423, allocations: 0.9244 MB / 1.058 GB, free: 321.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006887/1.429, allocations: 3.334 MB / 1.062 GB, free: 319.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.43, allocations: 3.406 kB / 1.062 GB, free: 319.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.431, allocations: 210.8 kB / 1.062 GB, free: 319.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/1.431, allocations: 3.781 kB / 1.062 GB, free: 319.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/1.431, allocations: 30.77 kB / 1.062 GB, free: 319.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001951/1.431, allocations: 0.59 MB / 1.062 GB, free: 319.1 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.431, allocations: 1.375 kB / 1.062 GB, free: 319.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/1.435, allocations: 1.705 MB / 1.064 GB, free: 318.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.436, allocations: 479.3 kB / 1.065 GB, free: 318.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/1.436, allocations: 20.44 kB / 1.065 GB, free: 318.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.438, allocations: 80.59 kB / 1.065 GB, free: 318 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.438, allocations: 46.45 kB / 1.065 GB, free: 318 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/1.438, allocations: 28.95 kB / 1.065 GB, free: 318 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002921/1.441, allocations: 1.997 MB / 1.067 GB, free: 317.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/1.441, allocations: 0 / 1.067 GB, free: 317.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003066/1.444, allocations: 1.256 MB / 1.068 GB, free: 317.2 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004351/1.448, allocations: 2.655 MB / 1.07 GB, free: 315.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00471/1.453, allocations: 2.694 MB / 1.073 GB, free: 315 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.453, allocations: 0 / 1.073 GB, free: 315 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.454, allocations: 479.5 kB / 1.074 GB, free: 314.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/1.46, allocations: 1.448 MB / 1.075 GB, free: 314.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.484, allocations: 19.36 MB / 1.094 GB, free: 297.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.485, allocations: 1.927 MB / 1.096 GB, free: 296 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00243/1.488, allocations: 0.7215 MB / 1.096 GB, free: 295.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.489, allocations: 1.171 MB / 1.098 GB, free: 294.1 MB / 0.795 GB Notification: Performance of SimCode: time 9.11e-07/1.489, allocations: 0 / 1.098 GB, free: 294.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.589, allocations: 73.15 MB / 1.169 GB, free: 221.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.17/20.76, allocations: 7.938 kB / 1.169 GB, free: 221.7 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)