Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001032/0.001032, allocations: 101.3 kB / 16.35 MB, free: 5.875 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.001011/0.001011, allocations: 200.1 kB / 17.3 MB, free: 5.516 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 287.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9106/0.9106, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 103.7 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.164, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9116/1.076, allocations: 325 MB / 0.999 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02512/1.101, allocations: 22.3 MB / 1.021 GB, free: 38 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/1.104, allocations: 95.03 kB / 1.021 GB, free: 38 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01211/1.116, allocations: 7.684 MB / 1.028 GB, free: 37.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/1.126, allocations: 4.258 MB / 1.033 GB, free: 37.72 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/1.132, allocations: 2.45 MB / 1.035 GB, free: 37.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01414/1.146, allocations: 11.96 MB / 1.047 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/1.149, allocations: 2.188 MB / 1.049 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006259/1.156, allocations: 3.16 MB / 1.052 GB, free: 36.03 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/1.159, allocations: 1.803 MB / 1.054 GB, free: 35.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003335/1.159, allocations: 226 kB / 1.054 GB, free: 35.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006406/1.165, allocations: 3.867 MB / 1.058 GB, free: 34.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009223/1.166, allocations: 1.147 MB / 1.059 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/1.168, allocations: 1.691 MB / 1.06 GB, free: 33.74 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006616/1.175, allocations: 5.775 MB / 1.066 GB, free: 29.04 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/1.175, allocations: 0 / 1.066 GB, free: 29.04 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/1.175, allocations: 0 / 1.066 GB, free: 29.04 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.38e-05/1.175, allocations: 0 / 1.066 GB, free: 29.04 MB / 0.7169 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.004602/1.179, allocations: 3.776 MB / 1.07 GB, free: 25.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/1.179, allocations: 12.03 kB / 1.07 GB, free: 25.21 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00618/1.186, allocations: 1.096 MB / 1.071 GB, free: 24.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/1.191, allocations: 3.946 MB / 1.075 GB, free: 20.21 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/1.191, allocations: 117.6 kB / 1.075 GB, free: 20.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/1.191, allocations: 152 kB / 1.075 GB, free: 19.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/1.194, allocations: 1.716 MB / 1.077 GB, free: 18.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/1.194, allocations: 2.625 kB / 1.077 GB, free: 18.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.194, allocations: 56 kB / 1.077 GB, free: 18.11 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/1.194, allocations: 58.56 kB / 1.077 GB, free: 18.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/1.197, allocations: 1.44 MB / 1.078 GB, free: 16.61 MB / 0.7169 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.009103/1.206, allocations: 8.649 MB / 1.086 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/1.208, allocations: 1.021 MB / 1.087 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009929/1.209, allocations: 0.5017 MB / 1.088 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/1.209, allocations: 107.6 kB / 1.088 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/1.209, allocations: 48.64 kB / 1.088 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.265e-06/1.209, allocations: 0 / 1.088 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.003417/1.213, allocations: 1.459 MB / 1.09 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/1.213, allocations: 59.97 kB / 1.09 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/1.215, allocations: 2.948 MB / 1.092 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/1.216, allocations: 49.53 kB / 1.093 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/1.216, allocations: 1.266 MB / 1.094 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/1.217, allocations: 259.5 kB / 1.094 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/1.217, allocations: 434.6 kB / 1.094 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/1.217, allocations: 301.1 kB / 1.095 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/1.219, allocations: 0.8168 MB / 1.096 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/1.221, allocations: 1.318 MB / 1.097 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/1.224, allocations: 1.901 MB / 1.099 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.224, allocations: 4 kB / 1.099 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004465/1.228, allocations: 2.399 MB / 1.101 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.228, allocations: 8 kB / 1.101 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.228, allocations: 16 kB / 1.101 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/1.228, allocations: 20 kB / 1.101 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.23, allocations: 391 kB / 1.101 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003534/1.23, allocations: 0.6038 MB / 1.102 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.232, allocations: 238 kB / 1.102 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.232, allocations: 75.97 kB / 1.102 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002407/1.235, allocations: 1.437 MB / 1.104 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001787/1.237, allocations: 1.289 MB / 1.105 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002952/1.239, allocations: 1.866 MB / 1.107 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.559e-05/1.24, allocations: 4 kB / 1.107 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004206/1.244, allocations: 2.35 MB / 1.109 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.244, allocations: 11.94 kB / 1.109 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.244, allocations: 16.03 kB / 1.109 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.244, allocations: 16 kB / 1.109 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.245, allocations: 366.9 kB / 1.109 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/1.245, allocations: 23.09 kB / 1.11 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.247, allocations: 182.9 kB / 1.11 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.247, allocations: 71.27 kB / 1.11 GB, free: 15.14 MB / 0.7481 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.0003441/1.247, allocations: 270 kB / 1.11 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/1.248, allocations: 268.4 kB / 1.11 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/1.251, allocations: 1.126 MB / 1.111 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.251, allocations: 7.984 kB / 1.111 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.251, allocations: 8 kB / 1.111 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/1.253, allocations: 0.9169 MB / 1.112 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006373/1.259, allocations: 3.328 MB / 1.116 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.259, allocations: 0 / 1.116 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.26, allocations: 211.1 kB / 1.116 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/1.26, allocations: 4 kB / 1.116 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/1.26, allocations: 23.98 kB / 1.116 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002688/1.261, allocations: 0.5822 MB / 1.116 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.261, allocations: 3.375 kB / 1.116 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/1.264, allocations: 1.713 MB / 1.118 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.265, allocations: 469.4 kB / 1.118 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/1.266, allocations: 19.98 kB / 1.118 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.267, allocations: 83.83 kB / 1.119 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.267, allocations: 46.41 kB / 1.119 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/1.267, allocations: 23.98 kB / 1.119 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002813/1.27, allocations: 1.968 MB / 1.121 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/1.27, allocations: 4 kB / 1.121 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002847/1.273, allocations: 1.255 MB / 1.122 GB, free: 2.668 MB / 0.7481 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.001014/1.274, allocations: 0.5059 MB / 1.122 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005087/1.279, allocations: 2.681 MB / 1.125 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.279, allocations: 0 / 1.125 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.28, allocations: 475.5 kB / 1.125 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/1.285, allocations: 1.462 MB / 1.127 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/1.293, allocations: 4.684 MB / 1.131 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/1.295, allocations: 1.933 MB / 1.133 GB, free: 7.062 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002458/1.297, allocations: 0.7244 MB / 1.134 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/1.298, allocations: 211.3 kB / 1.134 GB, free: 6.125 MB / 0.7637 GB Notification: Performance of SimCode: time 1.734e-06/1.298, allocations: 0 / 1.134 GB, free: 6.125 MB / 0.7637 GB Notification: Performance of Templates: time 0.07627/1.374, allocations: 50.85 MB / 1.184 GB, free: 4.211 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)