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.001125/0.001125, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.001109/0.001109, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6848/0.6848, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3343, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.5998/0.9341, allocations: 325 MB / 0.875 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02913/0.9633, allocations: 22.29 MB / 0.8967 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.9671, allocations: 95.88 kB / 0.8968 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.013/0.9801, allocations: 7.696 MB / 0.9043 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.9907, allocations: 4.258 MB / 0.9085 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005625/0.9963, allocations: 2.459 MB / 0.9109 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0173/1.014, allocations: 11.95 MB / 0.9226 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/1.017, allocations: 2.189 MB / 0.9247 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006894/1.024, allocations: 3.145 MB / 0.9278 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/1.028, allocations: 1.83 MB / 0.9295 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008393/1.029, allocations: 228 kB / 0.9298 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007584/1.036, allocations: 3.859 MB / 0.9335 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/1.038, allocations: 1.133 MB / 0.9346 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00382/1.042, allocations: 1.691 MB / 0.9363 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/1.052, allocations: 5.776 MB / 0.9419 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.052, allocations: 8 kB / 0.9419 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/1.052, allocations: 0 / 0.9419 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.549e-05/1.052, allocations: 0 / 0.9419 GB, free: 11.95 MB / 0.6544 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.006435/1.059, allocations: 3.76 MB / 0.9456 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.059, allocations: 12.02 kB / 0.9456 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006705/1.066, allocations: 1.104 MB / 0.9467 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/1.072, allocations: 3.935 MB / 0.9505 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/1.072, allocations: 122.7 kB / 0.9507 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/1.073, allocations: 151.9 kB / 0.9508 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/1.076, allocations: 1.711 MB / 0.9525 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/1.076, allocations: 4 kB / 0.9525 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.076, allocations: 64 kB / 0.9525 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/1.076, allocations: 46.59 kB / 0.9526 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/1.079, allocations: 1.45 MB / 0.954 GB, free: 15.36 MB / 0.67 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.01109/1.09, allocations: 8.656 MB / 0.9625 GB, free: 6.098 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/1.092, allocations: 1.015 MB / 0.9634 GB, free: 5.035 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/1.093, allocations: 0.4983 MB / 0.9639 GB, free: 4.535 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.094, allocations: 105.6 kB / 0.964 GB, free: 4.414 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/1.094, allocations: 39.12 kB / 0.9641 GB, free: 4.367 MB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.094, allocations: 0 / 0.9641 GB, free: 4.367 MB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.003848/1.098, allocations: 1.468 MB / 0.9655 GB, free: 2.895 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.098, allocations: 59.97 kB / 0.9656 GB, free: 2.824 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/1.101, allocations: 2.948 MB / 0.9684 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.102, allocations: 45.7 kB / 0.9685 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000914/1.102, allocations: 1.268 MB / 0.9697 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/1.103, allocations: 260.4 kB / 0.97 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005445/1.103, allocations: 431 kB / 0.9704 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/1.103, allocations: 309 kB / 0.9707 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.105, allocations: 0.8129 MB / 0.9715 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/1.107, allocations: 1.314 MB / 0.9728 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/1.109, allocations: 1.899 MB / 0.9746 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/1.11, allocations: 4 kB / 0.9746 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004211/1.114, allocations: 2.4 MB / 0.977 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.114, allocations: 12 kB / 0.977 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.114, allocations: 15.94 kB / 0.977 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/1.114, allocations: 19.94 kB / 0.977 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.115, allocations: 387.9 kB / 0.9774 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003393/1.116, allocations: 0.6133 MB / 0.978 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/1.118, allocations: 226.1 kB / 0.9782 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.118, allocations: 75.95 kB / 0.9783 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002359/1.12, allocations: 1.438 MB / 0.9797 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001695/1.122, allocations: 1.286 MB / 0.9809 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002703/1.125, allocations: 1.865 MB / 0.9827 GB, free: 464 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.963e-06/1.125, allocations: 3.984 kB / 0.9827 GB, free: 460 kB / 0.6856 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004046/1.129, allocations: 2.361 MB / 0.985 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.129, allocations: 8 kB / 0.9851 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.129, allocations: 12 kB / 0.9851 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.129, allocations: 23.94 kB / 0.9851 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.13, allocations: 359.9 kB / 0.9854 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/1.13, allocations: 27.92 kB / 0.9855 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.132, allocations: 194.7 kB / 0.9856 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.132, allocations: 67.98 kB / 0.9857 GB, free: 13.39 MB / 0.7012 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.0004372/1.133, allocations: 275.7 kB / 0.986 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/1.133, allocations: 264.5 kB / 0.9862 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/1.136, allocations: 1.118 MB / 0.9873 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.136, allocations: 11.98 kB / 0.9873 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.136, allocations: 0 / 0.9873 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002125/1.138, allocations: 0.9216 MB / 0.9882 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/1.146, allocations: 3.329 MB / 0.9915 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.146, allocations: 4 kB / 0.9915 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.147, allocations: 215.9 kB / 0.9917 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/1.147, allocations: 7.938 kB / 0.9917 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/1.147, allocations: 23.92 kB / 0.9917 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002684/1.148, allocations: 0.586 MB / 0.9923 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.148, allocations: 0 / 0.9923 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/1.151, allocations: 1.715 MB / 0.994 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.152, allocations: 469.3 kB / 0.9944 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/1.153, allocations: 19.98 kB / 0.9944 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.154, allocations: 76.75 kB / 0.9945 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/1.154, allocations: 40.5 kB / 0.9945 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/1.154, allocations: 35.97 kB / 0.9946 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002665/1.157, allocations: 1.964 MB / 0.9965 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.558e-06/1.157, allocations: 3.938 kB / 0.9965 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002779/1.16, allocations: 1.263 MB / 0.9977 GB, free: 0.8398 MB / 0.7012 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.001027/1.161, allocations: 0.4969 MB / 0.9982 GB, free: 356 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004979/1.166, allocations: 2.684 MB / 1.001 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.166, allocations: 0 / 1.001 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.167, allocations: 479.2 kB / 1.001 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/1.172, allocations: 1.455 MB / 1.003 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/1.179, allocations: 4.675 MB / 1.007 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.181, allocations: 1.923 MB / 1.009 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002338/1.183, allocations: 0.7167 MB / 1.01 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/1.184, allocations: 219.3 kB / 1.01 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of SimCode: time 1.944e-06/1.184, allocations: 0 / 1.01 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.3112/1.495, allocations: 50.83 MB / 1.06 GB, free: 310.7 MB / 0.7325 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)