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: translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 110 kB / 16.41 MB, free: 6.484 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.001048/0.001048, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.276/1.276, 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.6823/0.6823, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 65.75 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6149/0.7468, allocations: 325 MB / 0.9495 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03103/0.7779, allocations: 22.27 MB / 0.9712 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.7816, allocations: 95.5 kB / 0.9713 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006318/0.7879, allocations: 2.36 MB / 0.9736 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.7997, allocations: 4.524 MB / 0.9781 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005959/0.8057, allocations: 2.564 MB / 0.9806 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01601/0.8217, allocations: 12.17 MB / 0.9924 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.8251, allocations: 2.242 MB / 0.9946 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006851/0.8319, allocations: 3.269 MB / 0.9978 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.8358, allocations: 1.866 MB / 0.9997 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006027/0.8365, allocations: 243.9 kB / 0.9999 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008049/0.8445, allocations: 3.878 MB / 1.004 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.846, allocations: 1.153 MB / 1.005 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.8482, allocations: 1.706 MB / 1.006 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.009314/0.8575, allocations: 5.842 MB / 1.012 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8576, allocations: 0 / 1.012 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8576, allocations: 0 / 1.012 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.565e-05/0.8577, allocations: 0 / 1.012 GB, free: 6.703 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.006673/0.8643, allocations: 3.809 MB / 1.016 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.8644, allocations: 12.03 kB / 1.016 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.8712, allocations: 1.096 MB / 1.017 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006698/0.878, allocations: 4.044 MB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-05/0.8781, allocations: 114.7 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.8783, allocations: 156 kB / 1.021 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.8816, allocations: 1.71 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.8816, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.8817, allocations: 56 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.8818, allocations: 54.59 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003333/0.8851, allocations: 1.45 MB / 1.024 GB, free: 9.973 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.01071/0.8959, allocations: 8.657 MB / 1.033 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.898, allocations: 1.024 MB / 1.034 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.8992, allocations: 0.4987 MB / 1.034 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.8994, allocations: 113.5 kB / 1.034 GB, free: 15 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.8994, allocations: 43.12 kB / 1.034 GB, free: 14.95 MB / 0.795 GB Notification: Performance of pre-optimization done (n=70): time 2.394e-06/0.8994, allocations: 0 / 1.034 GB, free: 14.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=70): time 0.004033/0.9035, allocations: 1.471 MB / 1.036 GB, free: 13.46 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.9035, allocations: 55.97 kB / 1.036 GB, free: 13.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.9074, allocations: 2.987 MB / 1.039 GB, free: 10.41 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.9076, allocations: 41.7 kB / 1.039 GB, free: 10.36 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009929/0.9086, allocations: 1.268 MB / 1.04 GB, free: 9.078 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.9088, allocations: 256.4 kB / 1.04 GB, free: 8.824 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005573/0.9094, allocations: 443 kB / 1.041 GB, free: 8.387 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.9095, allocations: 301.1 kB / 1.041 GB, free: 8.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.911, allocations: 0.8129 MB / 1.042 GB, free: 7.273 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.9129, allocations: 1.318 MB / 1.043 GB, free: 5.762 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.916, allocations: 1.903 MB / 1.045 GB, free: 3.707 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.916, allocations: 0 / 1.045 GB, free: 3.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004284/0.9203, allocations: 2.404 MB / 1.047 GB, free: 1.289 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.9203, allocations: 13.88 kB / 1.047 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.9203, allocations: 19.88 kB / 1.047 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.9204, allocations: 16 kB / 1.047 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.9219, allocations: 383.9 kB / 1.048 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003507/0.9223, allocations: 0.621 MB / 1.048 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2769/1.199, allocations: 230.6 kB / 1.049 GB, free: 324.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/1.2, allocations: 68.28 kB / 1.049 GB, free: 324.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002718/1.202, allocations: 1.437 MB / 1.05 GB, free: 324.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001645/1.204, allocations: 1.29 MB / 1.051 GB, free: 324.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002678/1.207, allocations: 1.866 MB / 1.053 GB, free: 323.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.767e-06/1.207, allocations: 3.406 kB / 1.053 GB, free: 323.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004201/1.211, allocations: 2.351 MB / 1.055 GB, free: 322.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.211, allocations: 10.5 kB / 1.055 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.211, allocations: 11.12 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.211, allocations: 19.38 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.212, allocations: 358.8 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/1.212, allocations: 28.38 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.214, allocations: 191.2 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/1.214, allocations: 70.23 kB / 1.056 GB, free: 322.9 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.0003132/1.214, allocations: 270.6 kB / 1.056 GB, free: 322.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/1.215, allocations: 267.6 kB / 1.057 GB, free: 322.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/1.217, allocations: 1.119 MB / 1.058 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.217, allocations: 8.359 kB / 1.058 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.217, allocations: 3.188 kB / 1.058 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002105/1.22, allocations: 0.9201 MB / 1.059 GB, free: 321.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006075/1.226, allocations: 3.335 MB / 1.062 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.226, allocations: 2.75 kB / 1.062 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.227, allocations: 209.9 kB / 1.062 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/1.227, allocations: 4.125 kB / 1.062 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/1.227, allocations: 23.56 kB / 1.062 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001908/1.227, allocations: 0.5945 MB / 1.063 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.227, allocations: 1.062 kB / 1.063 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/1.231, allocations: 1.702 MB / 1.064 GB, free: 318.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007439/1.232, allocations: 474.1 kB / 1.065 GB, free: 318.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/1.232, allocations: 28.61 kB / 1.065 GB, free: 318.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.233, allocations: 85.42 kB / 1.065 GB, free: 318.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.233, allocations: 49.59 kB / 1.065 GB, free: 318.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/1.233, allocations: 29.25 kB / 1.065 GB, free: 318.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002613/1.236, allocations: 1.993 MB / 1.067 GB, free: 317.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/1.236, allocations: 1.031 kB / 1.067 GB, free: 317.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002643/1.239, allocations: 1.262 MB / 1.068 GB, free: 317.7 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.0008988/1.24, allocations: 496.2 kB / 1.069 GB, free: 317.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004357/1.244, allocations: 2.684 MB / 1.071 GB, free: 316.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.244, allocations: 1.219 kB / 1.071 GB, free: 316.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.245, allocations: 480.4 kB / 1.072 GB, free: 316.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.25, allocations: 1.452 MB / 1.073 GB, free: 316.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/1.256, allocations: 4.707 MB / 1.078 GB, free: 313.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.257, allocations: 1.934 MB / 1.08 GB, free: 313 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002423/1.26, allocations: 0.7119 MB / 1.08 GB, free: 312.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005729/1.26, allocations: 212.3 kB / 1.081 GB, free: 312.7 MB / 0.795 GB Notification: Performance of SimCode: time 6.82e-07/1.26, allocations: 0 / 1.081 GB, free: 312.7 MB / 0.795 GB Notification: Performance of Templates: time 0.06198/1.322, allocations: 51.27 MB / 1.131 GB, free: 262.7 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)