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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7578/0.7578, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 183.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.0009395, allocations: 100.7 kB / 0.5124 GB, free: 24.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 268.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.637e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4566, allocations: 82.78 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.422/4.878, allocations: 1.906 GB / 2.67 GB, free: 100.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/4.879, allocations: 91.27 kB / 2.67 GB, free: 100.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.757/10.64, allocations: 1.672 GB / 4.342 GB, free: 58.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.743e-06/10.64, allocations: 0 / 4.342 GB, free: 58.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002824/10.64, allocations: 60.64 kB / 4.342 GB, free: 58.01 MB / 0.7448 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.008062/10.64, allocations: 2.503 MB / 4.345 GB, free: 55.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/10.64, allocations: 8.031 kB / 4.345 GB, free: 55.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006187/10.65, allocations: 0.8125 MB / 4.346 GB, free: 54.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007224/10.66, allocations: 2.631 MB / 4.348 GB, free: 51.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/10.66, allocations: 118.6 kB / 4.348 GB, free: 51.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/10.66, allocations: 152 kB / 4.349 GB, free: 51.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/10.66, allocations: 1.517 MB / 4.35 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/10.66, allocations: 0 / 4.35 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/10.66, allocations: 56 kB / 4.35 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/10.66, allocations: 50.17 kB / 4.35 GB, free: 49.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/10.66, allocations: 1.15 MB / 4.351 GB, free: 48.81 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.00968/10.67, allocations: 7.413 MB / 4.359 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/10.67, allocations: 0.9411 MB / 4.359 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005583/10.67, allocations: 427.1 kB / 4.36 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/10.67, allocations: 109.9 kB / 4.36 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/10.67, allocations: 39.34 kB / 4.36 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001235/10.68, allocations: 231 kB / 4.36 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 3.888e-06/10.68, allocations: 0 / 4.36 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.002178/10.68, allocations: 0.9827 MB / 4.361 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/10.68, allocations: 60.19 kB / 4.361 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/10.68, allocations: 1.494 MB / 4.363 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/10.68, allocations: 49.7 kB / 4.363 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/10.68, allocations: 0.9725 MB / 4.364 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/10.68, allocations: 276 kB / 4.364 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/10.68, allocations: 24 kB / 4.364 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/10.68, allocations: 349.9 kB / 4.364 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/10.68, allocations: 334.2 kB / 4.365 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/10.68, allocations: 0.7595 MB / 4.365 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/10.68, allocations: 444.4 kB / 4.366 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/10.68, allocations: 0 / 4.366 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002295/10.69, allocations: 1.307 MB / 4.367 GB, free: 31.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007835/10.69, allocations: 3.962 MB / 4.371 GB, free: 27.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/10.69, allocations: 16 kB / 4.371 GB, free: 27.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/10.69, allocations: 108.7 kB / 4.371 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/10.69, allocations: 263.6 kB / 4.371 GB, free: 27.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/10.69, allocations: 2.362 MB / 4.374 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/10.69, allocations: 139.8 kB / 4.374 GB, free: 24.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/10.69, allocations: 55.97 kB / 4.374 GB, free: 24.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/10.69, allocations: 4 kB / 4.374 GB, free: 24.4 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001939/10.69, allocations: 1.077 MB / 4.375 GB, free: 23.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/10.69, allocations: 8 kB / 4.375 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/10.69, allocations: 108.7 kB / 4.375 GB, free: 23.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00078/10.69, allocations: 235.9 kB / 4.375 GB, free: 22.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/10.7, allocations: 1.771 MB / 4.377 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/10.7, allocations: 135.6 kB / 4.377 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/10.7, allocations: 51.98 kB / 4.377 GB, free: 20.9 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003119/10.7, allocations: 176.6 kB / 4.377 GB, free: 20.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/10.7, allocations: 193.6 kB / 4.377 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/10.7, allocations: 1.048 MB / 4.378 GB, free: 19.47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/10.7, allocations: 8 kB / 4.378 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/10.7, allocations: 4 kB / 4.378 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/10.7, allocations: 0.8746 MB / 4.379 GB, free: 18.55 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.005765/10.71, allocations: 2.849 MB / 4.382 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/10.71, allocations: 0 / 4.382 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009485/10.71, allocations: 195.9 kB / 4.382 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/10.71, allocations: 88.64 kB / 4.382 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/10.71, allocations: 19.98 kB / 4.382 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/10.71, allocations: 2.245 MB / 4.385 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/10.71, allocations: 3.953 kB / 4.385 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/10.71, allocations: 1.625 MB / 4.386 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/10.72, allocations: 346.5 kB / 4.387 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/10.72, allocations: 16 kB / 4.387 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/10.72, allocations: 131.7 kB / 4.387 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/10.72, allocations: 52.66 kB / 4.387 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/10.72, allocations: 31.97 kB / 4.387 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00161/10.72, allocations: 1.166 MB / 4.388 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/10.72, allocations: 0 / 4.388 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004539/10.72, allocations: 1.377 MB / 4.389 GB, free: 8.016 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005678/10.73, allocations: 4.2 MB / 4.393 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003169/10.73, allocations: 1.717 MB / 4.395 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/10.73, allocations: 0 / 4.395 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007195/10.73, allocations: 0.5106 MB / 4.395 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/10.74, allocations: 1.006 MB / 4.396 GB, free: 332 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/10.74, allocations: 2.686 MB / 4.399 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/10.74, allocations: 1.621 MB / 4.401 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003268/10.75, allocations: 0.7235 MB / 4.401 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/10.75, allocations: 127.3 kB / 4.402 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of SimCode: time 9.82e-07/10.75, allocations: 0 / 4.402 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of Templates: time 0.6893/11.44, allocations: 88.23 MB / 4.488 GB, free: 80.02 MB / 0.7605 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)