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.001168/0.001168, allocations: 108.8 kB / 16.41 MB, free: 6.469 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.001275/0.001275, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7757/0.7757, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.44 kB / 0.568 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1369, allocations: 77.93 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6468/0.7838, allocations: 325 MB / 0.9615 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02957/0.8134, allocations: 22.27 MB / 0.9832 GB, free: 228 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.8166, allocations: 99.5 kB / 0.9833 GB, free: 128 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006062/0.8227, allocations: 2.395 MB / 0.9857 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.8336, allocations: 4.678 MB / 0.9902 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00585/0.8395, allocations: 2.56 MB / 0.9927 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01602/0.8555, allocations: 12.19 MB / 1.005 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003274/0.8588, allocations: 2.231 MB / 1.007 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006503/0.8653, allocations: 3.332 MB / 1.01 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.8688, allocations: 1.878 MB / 1.012 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000484/0.8693, allocations: 236 kB / 1.012 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006961/0.8762, allocations: 3.882 MB / 1.016 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.8775, allocations: 1.157 MB / 1.017 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.8795, allocations: 1.706 MB / 1.019 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008582/0.8881, allocations: 5.878 MB / 1.024 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8881, allocations: 4 kB / 1.024 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8882, allocations: 0 / 1.024 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.527e-05/0.8882, allocations: 0 / 1.024 GB, free: 5.871 MB / 0.7794 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.00635/0.8946, allocations: 3.918 MB / 1.028 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8946, allocations: 12.61 kB / 1.028 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.8949, allocations: 206.8 kB / 1.029 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.9017, allocations: 1.11 MB / 1.03 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006961/0.9087, allocations: 4.063 MB / 1.034 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.9088, allocations: 122.7 kB / 1.034 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.9091, allocations: 152 kB / 1.034 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.9125, allocations: 1.715 MB / 1.035 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.9126, allocations: 4 kB / 1.035 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.9127, allocations: 56 kB / 1.036 GB, free: 10.29 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.9128, allocations: 50.59 kB / 1.036 GB, free: 10.24 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.9164, allocations: 1.443 MB / 1.037 GB, free: 8.789 MB / 0.795 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.0128/0.9292, allocations: 8.698 MB / 1.046 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.9315, allocations: 1.016 MB / 1.046 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.9327, allocations: 0.504 MB / 1.047 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.9329, allocations: 113.6 kB / 1.047 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.933, allocations: 43.12 kB / 1.047 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/0.933, allocations: 0 / 1.047 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.004355/0.9373, allocations: 1.473 MB / 1.049 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.9374, allocations: 63.97 kB / 1.049 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/0.9428, allocations: 2.98 MB / 1.052 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.943, allocations: 45.7 kB / 1.052 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.9442, allocations: 1.289 MB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.9445, allocations: 269.7 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006992/0.9452, allocations: 431.3 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.9454, allocations: 305.1 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.947, allocations: 0.8168 MB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.9491, allocations: 1.31 MB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.9524, allocations: 1.899 MB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.9524, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004995/0.9574, allocations: 2.413 MB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.9575, allocations: 15.94 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.9575, allocations: 8 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.9575, allocations: 20 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.318/1.276, allocations: 379 kB / 1.061 GB, free: 329.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003029/1.276, allocations: 0.6111 MB / 1.061 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.278, allocations: 240.8 kB / 1.061 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.278, allocations: 76.66 kB / 1.061 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00257/1.281, allocations: 1.428 MB / 1.063 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001888/1.283, allocations: 1.297 MB / 1.064 GB, free: 328.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002901/1.286, allocations: 1.865 MB / 1.066 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/1.286, allocations: 7.094 kB / 1.066 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004586/1.29, allocations: 2.359 MB / 1.068 GB, free: 326.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.29, allocations: 10.44 kB / 1.068 GB, free: 326.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.29, allocations: 13.86 kB / 1.068 GB, free: 326.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.29, allocations: 22.09 kB / 1.068 GB, free: 326.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.292, allocations: 362.3 kB / 1.069 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/1.292, allocations: 27.8 kB / 1.069 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.294, allocations: 200.9 kB / 1.069 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.294, allocations: 67.61 kB / 1.069 GB, free: 326.7 MB / 0.8106 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.0003673/1.294, allocations: 273.3 kB / 1.069 GB, free: 326.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.295, allocations: 282.6 kB / 1.069 GB, free: 326.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/1.297, allocations: 1.125 MB / 1.07 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/1.297, allocations: 7.5 kB / 1.071 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.297, allocations: 3.125 kB / 1.071 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002267/1.3, allocations: 0.9247 MB / 1.071 GB, free: 325.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006474/1.306, allocations: 3.337 MB / 1.075 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.306, allocations: 1.156 kB / 1.075 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.307, allocations: 209.9 kB / 1.075 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/1.307, allocations: 3.406 kB / 1.075 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/1.308, allocations: 19.98 kB / 1.075 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001871/1.308, allocations: 0.5958 MB / 1.075 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.308, allocations: 3.812 kB / 1.075 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/1.312, allocations: 1.726 MB / 1.077 GB, free: 322.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/1.313, allocations: 488.5 kB / 1.078 GB, free: 322.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.313, allocations: 13.97 kB / 1.078 GB, free: 322.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.314, allocations: 88.69 kB / 1.078 GB, free: 322.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/1.314, allocations: 44.81 kB / 1.078 GB, free: 322.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/1.314, allocations: 32.44 kB / 1.078 GB, free: 322.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003053/1.317, allocations: 1.994 MB / 1.08 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/1.317, allocations: 0 / 1.08 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003234/1.321, allocations: 1.268 MB / 1.081 GB, free: 321.4 MB / 0.8106 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.004653/1.325, allocations: 2.668 MB / 1.084 GB, free: 320.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004662/1.33, allocations: 2.683 MB / 1.086 GB, free: 319.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.33, allocations: 3.969 kB / 1.086 GB, free: 319.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.331, allocations: 482 kB / 1.087 GB, free: 319.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/1.336, allocations: 1.463 MB / 1.088 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.36, allocations: 19.45 MB / 1.107 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.361, allocations: 1.927 MB / 1.109 GB, free: 301.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00225/1.363, allocations: 0.7224 MB / 1.11 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.364, allocations: 1.167 MB / 1.111 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/1.364, allocations: 4 kB / 1.111 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.47, allocations: 71.99 MB / 1.181 GB, free: 228.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.55, allocations: 0 / 1.181 GB, free: 228.2 MB / 0.8106 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)