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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5694/0.5694, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 111.6 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 55.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3749, allocations: 70.06 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6224/0.9973, allocations: 321.4 MB / 0.8714 GB, free: 4.09 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02775/1.025, allocations: 20.38 MB / 0.8913 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005323/1.03, allocations: 87.44 kB / 0.8913 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004513/1.035, allocations: 1.31 MB / 0.8926 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/1.047, allocations: 3.961 MB / 0.8965 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006114/1.054, allocations: 2.094 MB / 0.8985 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01244/1.066, allocations: 8.052 MB / 0.9064 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005431/1.072, allocations: 1.858 MB / 0.9082 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008777/1.08, allocations: 2.915 MB / 0.9111 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/1.085, allocations: 1.81 MB / 0.9128 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0008041/1.086, allocations: 116 kB / 0.9129 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008323/1.094, allocations: 4.057 MB / 0.9169 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/1.095, allocations: 0.7748 MB / 0.9177 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/1.098, allocations: 1.236 MB / 0.9189 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.008769/1.107, allocations: 4.837 MB / 0.9236 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.107, allocations: 0 / 0.9236 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/1.107, allocations: 0 / 0.9236 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001596/1.107, allocations: 4 kB / 0.9236 GB, free: 14.43 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.007331/1.114, allocations: 2.986 MB / 0.9265 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.114, allocations: 12.03 kB / 0.9265 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006875/1.121, allocations: 1.008 MB / 0.9275 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/1.127, allocations: 1.94 MB / 0.9294 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005165/1.127, allocations: 166.6 kB / 0.9296 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000656/1.128, allocations: 147.9 kB / 0.9297 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005512/1.134, allocations: 1.725 MB / 0.9314 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/1.134, allocations: 0 / 0.9314 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/1.134, allocations: 56 kB / 0.9314 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-05/1.134, allocations: 46.61 kB / 0.9315 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/1.138, allocations: 1.501 MB / 0.9329 GB, free: 4.641 MB / 0.6355 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.01394/1.152, allocations: 7.801 MB / 0.9406 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/1.155, allocations: 1.159 MB / 0.9417 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/1.156, allocations: 0.5544 MB / 0.9422 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/1.157, allocations: 113.7 kB / 0.9423 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.157, allocations: 47.16 kB / 0.9424 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001133/1.158, allocations: 191.1 kB / 0.9426 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 5.039e-06/1.158, allocations: 0 / 0.9426 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.0044/1.162, allocations: 1.53 MB / 0.9441 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/1.162, allocations: 67.94 kB / 0.9441 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.165, allocations: 1.793 MB / 0.9459 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/1.166, allocations: 41.7 kB / 0.9459 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008927/1.167, allocations: 0.9802 MB / 0.9469 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/1.167, allocations: 272.1 kB / 0.9471 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004326/1.167, allocations: 226.4 kB / 0.9474 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.167, allocations: 345.9 kB / 0.9477 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/1.169, allocations: 0.5005 MB / 0.9482 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/1.17, allocations: 0.9054 MB / 0.9491 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/1.173, allocations: 1.329 MB / 0.9504 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.173, allocations: 4 kB / 0.9504 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003769/1.177, allocations: 1.538 MB / 0.9519 GB, free: 184 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.177, allocations: 11.94 kB / 0.9519 GB, free: 172 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.177, allocations: 8 kB / 0.9519 GB, free: 164 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/1.177, allocations: 24.27 kB / 0.9519 GB, free: 140 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/1.179, allocations: 292.5 kB / 0.9522 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004509/1.179, allocations: 0.6055 MB / 0.9528 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/1.181, allocations: 165.1 kB / 0.9529 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/1.181, allocations: 51.98 kB / 0.953 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001917/1.183, allocations: 0.8883 MB / 0.9538 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001445/1.184, allocations: 0.8469 MB / 0.9547 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002395/1.187, allocations: 1.239 MB / 0.9559 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.044e-06/1.187, allocations: 0 / 0.9559 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003201/1.19, allocations: 1.44 MB / 0.9573 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/1.19, allocations: 11.94 kB / 0.9573 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.19, allocations: 8 kB / 0.9573 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.19, allocations: 16 kB / 0.9573 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.191, allocations: 275.8 kB / 0.9576 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/1.191, allocations: 19.94 kB / 0.9576 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.193, allocations: 166.6 kB / 0.9578 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.193, allocations: 51.92 kB / 0.9578 GB, free: 9.738 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (124): * Single equations (assignments): 121 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0003524/1.194, allocations: 244 kB / 0.9581 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/1.194, allocations: 201.5 kB / 0.9582 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/1.197, allocations: 1.197 MB / 0.9594 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.197, allocations: 8 kB / 0.9594 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.197, allocations: 0 / 0.9594 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002445/1.2, allocations: 1.015 MB / 0.9604 GB, free: 7.027 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.007648/1.207, allocations: 3.217 MB / 0.9636 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.208, allocations: 0 / 0.9636 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.209, allocations: 235.9 kB / 0.9638 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/1.209, allocations: 11.92 kB / 0.9638 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.833e-05/1.209, allocations: 19.98 kB / 0.9638 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003516/1.209, allocations: 0.5899 MB / 0.9644 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.209, allocations: 7.969 kB / 0.9644 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3051/1.514, allocations: 8.728 MB / 0.9729 GB, free: 297.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.515, allocations: 362.7 kB / 0.9733 GB, free: 297.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005635/1.516, allocations: 17.56 kB / 0.9733 GB, free: 297.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.518, allocations: 152.6 kB / 0.9734 GB, free: 297.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.518, allocations: 47.52 kB / 0.9735 GB, free: 297.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.518, allocations: 35.41 kB / 0.9735 GB, free: 297.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002973/1.521, allocations: 1.223 MB / 0.9747 GB, free: 297.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.52e-07/1.521, allocations: 0 / 0.9747 GB, free: 297.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006527/1.528, allocations: 1.518 MB / 0.9762 GB, free: 297 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (78): * Single equations (assignments): 77 * 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.001484/1.529, allocations: 442.9 kB / 0.9766 GB, free: 296.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004608/1.534, allocations: 1.794 MB / 0.9784 GB, free: 296.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.534, allocations: 1.781 kB / 0.9784 GB, free: 296.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/1.535, allocations: 0.5223 MB / 0.9789 GB, free: 296.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006087/1.541, allocations: 0.9921 MB / 0.9798 GB, free: 296.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/1.549, allocations: 4.808 MB / 0.9845 GB, free: 293.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/1.551, allocations: 1.581 MB / 0.9861 GB, free: 292.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004502/1.556, allocations: 0.5251 MB / 0.9866 GB, free: 292 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009166/1.557, allocations: 169.2 kB / 0.9867 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.312e-06/1.557, allocations: 0 / 0.9867 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.08499/1.642, allocations: 42.39 MB / 1.028 GB, free: 250.4 MB / 0.6667 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)