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.001203/0.001203, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001214/0.001214, allocations: 192.8 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7111/0.7111, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 65.31 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1403, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6625/0.8029, allocations: 325 MB / 0.949 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03081/0.8337, allocations: 22.28 MB / 0.9708 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004315/0.8381, allocations: 99.44 kB / 0.9709 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006679/0.8449, allocations: 2.368 MB / 0.9732 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.8576, allocations: 4.511 MB / 0.9776 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006903/0.8645, allocations: 2.567 MB / 0.9801 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01756/0.8821, allocations: 12.17 MB / 0.992 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004216/0.8863, allocations: 2.242 MB / 0.9942 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007636/0.894, allocations: 3.266 MB / 0.9973 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003973/0.898, allocations: 1.878 MB / 0.9992 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000993/0.899, allocations: 244 kB / 0.9994 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00886/0.9079, allocations: 3.874 MB / 1.003 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.9099, allocations: 1.161 MB / 1.004 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004274/0.9142, allocations: 1.699 MB / 1.006 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.9268, allocations: 5.846 MB / 1.012 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.9269, allocations: 0 / 1.012 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9269, allocations: 0 / 1.012 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001673/0.9271, allocations: 0 / 1.012 GB, free: 6.941 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.008922/0.936, allocations: 3.809 MB / 1.015 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.9361, allocations: 12.03 kB / 1.015 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005167/0.9366, allocations: 202.8 kB / 1.016 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007309/0.9439, allocations: 1.092 MB / 1.017 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008304/0.9523, allocations: 4.044 MB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.9525, allocations: 118.6 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.953, allocations: 152 kB / 1.021 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.9572, allocations: 1.711 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.9573, allocations: 3.938 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.9574, allocations: 60 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.9575, allocations: 46.59 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.9612, allocations: 1.447 MB / 1.024 GB, free: 10.01 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.0131/0.9743, allocations: 8.665 MB / 1.033 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.9765, allocations: 1.024 MB / 1.034 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.9777, allocations: 0.5022 MB / 1.034 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.978, allocations: 105.6 kB / 1.034 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.978, allocations: 47.12 kB / 1.034 GB, free: 14.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=70): time 3.146e-06/0.978, allocations: 0 / 1.034 GB, free: 14.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=70): time 0.00455/0.9826, allocations: 1.468 MB / 1.036 GB, free: 13.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.9827, allocations: 55.97 kB / 1.036 GB, free: 13.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/0.9879, allocations: 2.983 MB / 1.039 GB, free: 10.45 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.9881, allocations: 41.7 kB / 1.039 GB, free: 10.4 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.9892, allocations: 1.272 MB / 1.04 GB, free: 9.113 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.9895, allocations: 260.4 kB / 1.04 GB, free: 8.855 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006695/0.9902, allocations: 431 kB / 1.041 GB, free: 8.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.9903, allocations: 301.1 kB / 1.041 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.9918, allocations: 0.8206 MB / 1.042 GB, free: 7.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.9937, allocations: 1.314 MB / 1.043 GB, free: 5.801 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.9967, allocations: 1.907 MB / 1.045 GB, free: 3.742 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.9967, allocations: 3.938 kB / 1.045 GB, free: 3.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004409/1.001, allocations: 2.392 MB / 1.047 GB, free: 1.332 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.001, allocations: 15.94 kB / 1.047 GB, free: 1.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/1.001, allocations: 12 kB / 1.047 GB, free: 1.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/1.001, allocations: 16.47 kB / 1.047 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.003, allocations: 397.6 kB / 1.048 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003883/1.003, allocations: 0.6094 MB / 1.048 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/1.005, allocations: 238 kB / 1.048 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3185/1.324, allocations: 65.53 kB / 1.048 GB, free: 325.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003402/1.327, allocations: 1.431 MB / 1.05 GB, free: 325 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001891/1.329, allocations: 1.291 MB / 1.051 GB, free: 324.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002914/1.332, allocations: 1.865 MB / 1.053 GB, free: 324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.539e-05/1.332, allocations: 6.969 kB / 1.053 GB, free: 324 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.005007/1.337, allocations: 2.343 MB / 1.055 GB, free: 323.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.337, allocations: 10.03 kB / 1.055 GB, free: 323.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.337, allocations: 12.2 kB / 1.055 GB, free: 323.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/1.337, allocations: 21.75 kB / 1.055 GB, free: 323.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.339, allocations: 363.6 kB / 1.056 GB, free: 323.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/1.339, allocations: 22.89 kB / 1.056 GB, free: 323.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/1.341, allocations: 193.2 kB / 1.056 GB, free: 323.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.341, allocations: 70.59 kB / 1.056 GB, free: 323.1 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.0003832/1.341, allocations: 270.1 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/1.342, allocations: 265.1 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/1.345, allocations: 1.125 MB / 1.057 GB, free: 322.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.345, allocations: 9.016 kB / 1.057 GB, free: 322.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.345, allocations: 3.375 kB / 1.057 GB, free: 322.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/1.347, allocations: 0.9243 MB / 1.058 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/1.354, allocations: 3.335 MB / 1.062 GB, free: 320.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.354, allocations: 3.438 kB / 1.062 GB, free: 320.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.355, allocations: 213.6 kB / 1.062 GB, free: 320.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.355, allocations: 3.969 kB / 1.062 GB, free: 320.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/1.355, allocations: 20.86 kB / 1.062 GB, free: 320.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001972/1.356, allocations: 0.597 MB / 1.062 GB, free: 319.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.356, allocations: 1.797 kB / 1.062 GB, free: 319.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/1.36, allocations: 1.703 MB / 1.064 GB, free: 319.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.361, allocations: 478.1 kB / 1.065 GB, free: 318.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/1.361, allocations: 16.38 kB / 1.065 GB, free: 318.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.362, allocations: 85.03 kB / 1.065 GB, free: 318.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.363, allocations: 46.12 kB / 1.065 GB, free: 318.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/1.363, allocations: 31.66 kB / 1.065 GB, free: 318.8 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003242/1.366, allocations: 1.99 MB / 1.067 GB, free: 318.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.41e-07/1.366, allocations: 0 / 1.067 GB, free: 318.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003564/1.37, allocations: 1.26 MB / 1.068 GB, free: 317.9 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.004331/1.374, allocations: 2.662 MB / 1.07 GB, free: 316.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004708/1.379, allocations: 2.682 MB / 1.073 GB, free: 315.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.379, allocations: 0 / 1.073 GB, free: 315.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.38, allocations: 479.7 kB / 1.074 GB, free: 315.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/1.385, allocations: 1.45 MB / 1.075 GB, free: 315.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/1.414, allocations: 19.36 MB / 1.094 GB, free: 299 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.415, allocations: 1.931 MB / 1.096 GB, free: 297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002576/1.417, allocations: 0.7197 MB / 1.096 GB, free: 296.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.419, allocations: 1.173 MB / 1.098 GB, free: 295.2 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/1.419, allocations: 4 kB / 1.098 GB, free: 295.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.523, allocations: 73.15 MB / 1.169 GB, free: 222.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.71/20.23, allocations: 10.61 kB / 1.169 GB, free: 222.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)