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.001438/0.001438, allocations: 109.8 kB / 17.03 MB, free: 6.094 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.001617/0.001617, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.314/1.314, allocations: 222.9 MB / 241.7 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.724/0.724, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2945, allocations: 76.14 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.5416/0.8361, allocations: 325 MB / 0.875 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02898/0.8651, allocations: 22.29 MB / 0.8967 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.8685, allocations: 98.31 kB / 0.8968 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01312/0.8817, allocations: 7.69 MB / 0.9043 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.8918, allocations: 4.255 MB / 0.9085 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005491/0.8973, allocations: 2.451 MB / 0.9109 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01572/0.9131, allocations: 11.96 MB / 0.9226 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.9161, allocations: 2.187 MB / 0.9247 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/0.9223, allocations: 3.152 MB / 0.9278 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.9254, allocations: 1.82 MB / 0.9296 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004381/0.9258, allocations: 228 kB / 0.9298 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006773/0.9326, allocations: 3.855 MB / 0.9335 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.9337, allocations: 1.137 MB / 0.9346 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.9356, allocations: 1.691 MB / 0.9363 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007639/0.9432, allocations: 5.776 MB / 0.9419 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9433, allocations: 0 / 0.9419 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9433, allocations: 0 / 0.9419 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.013e-05/0.9434, allocations: 0 / 0.9419 GB, free: 11.93 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.006046/0.9494, allocations: 3.771 MB / 0.9456 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.9495, allocations: 8.031 kB / 0.9456 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006905/0.9564, allocations: 1.096 MB / 0.9467 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006564/0.963, allocations: 3.943 MB / 0.9505 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.9631, allocations: 118.8 kB / 0.9507 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.9634, allocations: 151.9 kB / 0.9508 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.9668, allocations: 1.715 MB / 0.9525 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.9668, allocations: 4 kB / 0.9525 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.967, allocations: 56 kB / 0.9525 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.967, allocations: 50.58 kB / 0.9526 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/0.9706, allocations: 1.45 MB / 0.954 GB, free: 15.34 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.01162/0.9822, allocations: 8.657 MB / 0.9625 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.9843, allocations: 1.014 MB / 0.9634 GB, free: 5.012 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.9855, allocations: 0.5031 MB / 0.9639 GB, free: 4.508 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.9857, allocations: 106 kB / 0.964 GB, free: 4.387 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.9858, allocations: 51 kB / 0.9641 GB, free: 4.328 MB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/0.9858, allocations: 0 / 0.9641 GB, free: 4.328 MB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.003972/0.9898, allocations: 1.46 MB / 0.9655 GB, free: 2.863 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.9898, allocations: 59.97 kB / 0.9656 GB, free: 2.793 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.9935, allocations: 2.952 MB / 0.9685 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.9937, allocations: 41.7 kB / 0.9685 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.9947, allocations: 1.268 MB / 0.9697 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.995, allocations: 260.4 kB / 0.97 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005779/0.9956, allocations: 431 kB / 0.9704 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.9957, allocations: 305.1 kB / 0.9707 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.9973, allocations: 0.8168 MB / 0.9715 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.9993, allocations: 1.314 MB / 0.9728 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/1.002, allocations: 1.903 MB / 0.9746 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/1.002, allocations: 4 kB / 0.9746 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004746/1.007, allocations: 2.396 MB / 0.977 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.007, allocations: 8 kB / 0.977 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.007, allocations: 15.94 kB / 0.977 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/1.007, allocations: 19.94 kB / 0.977 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.009, allocations: 387.8 kB / 0.9774 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/1.009, allocations: 0.6133 MB / 0.978 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/1.011, allocations: 230.1 kB / 0.9782 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.012, allocations: 71.97 kB / 0.9783 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002429/1.014, allocations: 1.441 MB / 0.9797 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001734/1.016, allocations: 1.286 MB / 0.9809 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00281/1.019, allocations: 1.865 MB / 0.9827 GB, free: 432 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.717e-06/1.019, allocations: 4 kB / 0.9828 GB, free: 428 kB / 0.6856 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004108/1.023, allocations: 2.357 MB / 0.9851 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.023, allocations: 14.19 kB / 0.9851 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/1.023, allocations: 8 kB / 0.9851 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.023, allocations: 20 kB / 0.9851 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.024, allocations: 363.8 kB / 0.9854 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/1.024, allocations: 23.92 kB / 0.9855 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/1.026, allocations: 187.4 kB / 0.9856 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.026, allocations: 71.98 kB / 0.9857 GB, free: 13.38 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.0003636/1.027, allocations: 279.6 kB / 0.986 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/1.027, allocations: 264.5 kB / 0.9862 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/1.03, allocations: 1.118 MB / 0.9873 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.03, allocations: 8 kB / 0.9873 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.03, allocations: 3.984 kB / 0.9873 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002122/1.032, allocations: 0.9178 MB / 0.9882 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/1.038, allocations: 3.333 MB / 0.9915 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.038, allocations: 3.938 kB / 0.9915 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.039, allocations: 211.8 kB / 0.9917 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/1.039, allocations: 4 kB / 0.9917 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/1.04, allocations: 23.92 kB / 0.9917 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002978/1.04, allocations: 0.5937 MB / 0.9923 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.04, allocations: 4.031 kB / 0.9923 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/1.044, allocations: 1.707 MB / 0.994 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.045, allocations: 477.2 kB / 0.9944 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/1.045, allocations: 15.98 kB / 0.9944 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.046, allocations: 79.92 kB / 0.9945 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.046, allocations: 40.52 kB / 0.9946 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/1.047, allocations: 35.97 kB / 0.9946 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002818/1.049, allocations: 1.964 MB / 0.9965 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.11e-07/1.049, allocations: 0 / 0.9965 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00297/1.052, allocations: 1.267 MB / 0.9977 GB, free: 0.8125 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.001113/1.054, allocations: 0.4921 MB / 0.9982 GB, free: 328 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005436/1.059, allocations: 2.673 MB / 1.001 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.059, allocations: 0 / 1.001 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.06, allocations: 475.3 kB / 1.001 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/1.066, allocations: 1.467 MB / 1.003 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008713/1.075, allocations: 4.675 MB / 1.007 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/1.077, allocations: 1.931 MB / 1.009 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002746/1.08, allocations: 0.7206 MB / 1.01 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/1.08, allocations: 211.4 kB / 1.01 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of SimCode: time 7.51e-07/1.08, allocations: 0 / 1.01 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.2911/1.371, allocations: 50.82 MB / 1.06 GB, free: 310.6 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)