Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001046/0.001046, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00855/0.00855, allocations: 174 kB / 16.27 MB, free: 6.613 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004237, allocations: 9.156 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3753, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.115/1.49, allocations: 318.6 MB / 1.385 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03537/1.525, allocations: 22.26 MB / 1.407 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005706/1.531, allocations: 84.72 kB / 1.407 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01564/1.547, allocations: 7.446 MB / 1.414 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01566/1.562, allocations: 3.992 MB / 1.418 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007741/1.57, allocations: 2.199 MB / 1.42 GB, free: 13.43 MB / 1.029 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02316/1.593, allocations: 14.36 MB / 1.434 GB, free: 6.215 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004882/1.598, allocations: 1.86 MB / 1.436 GB, free: 4.762 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008871/1.607, allocations: 2.762 MB / 1.439 GB, free: 1.988 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005383/1.613, allocations: 1.847 MB / 1.441 GB, free: 144 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006538/1.613, allocations: 96 kB / 1.441 GB, free: 48 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.623, allocations: 4.248 MB / 1.445 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001978/1.625, allocations: 1.016 MB / 1.446 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00287/1.628, allocations: 1.54 MB / 1.447 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/1.639, allocations: 5.79 MB / 1.453 GB, free: 3.406 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.639, allocations: 4 kB / 1.453 GB, free: 3.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/1.639, allocations: 0 / 1.453 GB, free: 3.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.803e-05/1.639, allocations: 0 / 1.453 GB, free: 3.402 MB / 1.045 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.006447/1.645, allocations: 3.211 MB / 1.456 GB, free: 116 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.645, allocations: 19.92 kB / 1.456 GB, free: 96 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008408/1.654, allocations: 1.139 MB / 1.457 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/1.665, allocations: 3.885 MB / 1.461 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007392/1.666, allocations: 190.7 kB / 1.461 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005592/1.666, allocations: 148 kB / 1.462 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005693/1.672, allocations: 1.743 MB / 1.463 GB, free: 8.859 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/1.672, allocations: 3.938 kB / 1.463 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/1.672, allocations: 56 kB / 1.463 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.22e-05/1.672, allocations: 54.61 kB / 1.463 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007124/1.68, allocations: 1.533 MB / 1.465 GB, free: 7.207 MB / 1.061 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.02335/1.703, allocations: 8.546 MB / 1.473 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/1.708, allocations: 1.103 MB / 1.474 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/1.71, allocations: 0.5501 MB / 1.475 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003425/1.711, allocations: 102.1 kB / 1.475 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/1.711, allocations: 55.14 kB / 1.475 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002477/1.713, allocations: 226.5 kB / 1.475 GB, free: 11.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=74): time 8.206e-06/1.713, allocations: 0 / 1.475 GB, free: 11.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=74): time 0.008657/1.722, allocations: 1.576 MB / 1.477 GB, free: 10.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/1.722, allocations: 64.06 kB / 1.477 GB, free: 10.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009064/1.731, allocations: 2.936 MB / 1.48 GB, free: 7.348 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/1.731, allocations: 49.69 kB / 1.48 GB, free: 7.293 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/1.734, allocations: 1.26 MB / 1.481 GB, free: 6.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/1.734, allocations: 280.1 kB / 1.481 GB, free: 5.742 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005288/1.735, allocations: 221.6 kB / 1.481 GB, free: 5.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.735, allocations: 301.1 kB / 1.482 GB, free: 5.223 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/1.738, allocations: 0.8316 MB / 1.482 GB, free: 4.387 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004191/1.743, allocations: 1.362 MB / 1.484 GB, free: 2.812 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00686/1.749, allocations: 1.99 MB / 1.486 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/1.75, allocations: 4 kB / 1.486 GB, free: 0.668 MB / 1.076 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009249/1.759, allocations: 2.471 MB / 1.488 GB, free: 14.18 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004749/1.759, allocations: 436.7 kB / 1.489 GB, free: 13.6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/1.759, allocations: 12 kB / 1.489 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.907e-05/1.759, allocations: 20 kB / 1.489 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/1.762, allocations: 399.4 kB / 1.489 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006455/1.763, allocations: 0.621 MB / 1.49 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/1.767, allocations: 219.1 kB / 1.49 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/1.767, allocations: 67.98 kB / 1.49 GB, free: 12.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.768, allocations: 8 kB / 1.49 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004474/1.772, allocations: 2.155 MB / 1.492 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.772, allocations: 8 kB / 1.492 GB, free: 10.08 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.772, allocations: 20 kB / 1.492 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.774, allocations: 383.8 kB / 1.492 GB, free: 9.688 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/1.774, allocations: 23.94 kB / 1.492 GB, free: 9.664 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/1.776, allocations: 211.1 kB / 1.493 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.776, allocations: 67.98 kB / 1.493 GB, free: 9.391 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (192): * Single equations (assignments): 187 * 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.001738/1.778, allocations: 0.8133 MB / 1.493 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/1.778, allocations: 268.5 kB / 1.494 GB, free: 8.301 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/1.782, allocations: 1.213 MB / 1.495 GB, free: 7.078 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.782, allocations: 8 kB / 1.495 GB, free: 7.07 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.782, allocations: 0 / 1.495 GB, free: 7.07 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/1.785, allocations: 0.9997 MB / 1.496 GB, free: 6.039 MB / 1.092 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.009647/1.794, allocations: 3.558 MB / 1.499 GB, free: 2.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.794, allocations: 4 kB / 1.499 GB, free: 2.336 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.795, allocations: 235.8 kB / 1.5 GB, free: 2.105 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/1.795, allocations: 8 kB / 1.5 GB, free: 2.098 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/1.796, allocations: 19.98 kB / 1.5 GB, free: 2.078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003725/1.796, allocations: 0.5899 MB / 1.5 GB, free: 1.465 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.796, allocations: 4.031 kB / 1.5 GB, free: 1.461 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/1.801, allocations: 1.829 MB / 1.502 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/1.803, allocations: 465.4 kB / 1.502 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009837/1.804, allocations: 20 kB / 1.502 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.807, allocations: 167.7 kB / 1.503 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.807, allocations: 48.44 kB / 1.503 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-05/1.807, allocations: 35.97 kB / 1.503 GB, free: 14.85 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0051/1.812, allocations: 1.96 MB / 1.505 GB, free: 12.89 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.31e-07/1.812, allocations: 0 / 1.505 GB, free: 12.89 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004512/1.816, allocations: 1.271 MB / 1.506 GB, free: 11.62 MB / 1.107 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 (76): * Single equations (assignments): 75 * 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.001403/1.818, allocations: 499.7 kB / 1.506 GB, free: 11.14 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006263/1.824, allocations: 2.804 MB / 1.509 GB, free: 8.34 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.824, allocations: 2 kB / 1.509 GB, free: 8.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/1.826, allocations: 0.507 MB / 1.51 GB, free: 7.832 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007446/1.833, allocations: 1.359 MB / 1.511 GB, free: 6.492 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009909/1.843, allocations: 5.769 MB / 1.517 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/1.845, allocations: 1.931 MB / 1.518 GB, free: 14.71 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003565/1.849, allocations: 0.7402 MB / 1.519 GB, free: 13.96 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/1.85, allocations: 211.3 kB / 1.519 GB, free: 13.76 MB / 1.123 GB Notification: Performance of SimCode: time 6.91e-07/1.85, allocations: 0 / 1.519 GB, free: 13.76 MB / 1.123 GB Notification: Performance of Templates: time 0.09336/1.943, allocations: 51.65 MB / 1.57 GB, free: 10.66 MB / 1.17 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)