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.001663/0.001663, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002198/0.002198, allocations: 198.5 kB / 16.14 MB, free: 6.688 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: 222.9 MB / 239.8 MB, free: 4.613 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: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 69.25 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4009, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.077/1.478, allocations: 323 MB / 1.383 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03645/1.514, allocations: 22.53 MB / 1.405 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006068/1.52, allocations: 87.91 kB / 1.405 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01683/1.537, allocations: 7.466 MB / 1.412 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01599/1.553, allocations: 3.995 MB / 1.416 GB, free: 7.086 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008186/1.561, allocations: 2.188 MB / 1.418 GB, free: 5.516 MB / 1.029 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.0238/1.585, allocations: 14.38 MB / 1.432 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005179/1.59, allocations: 1.91 MB / 1.434 GB, free: 10.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008954/1.599, allocations: 2.821 MB / 1.437 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/1.605, allocations: 1.927 MB / 1.439 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/1.606, allocations: 120 kB / 1.439 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/1.616, allocations: 4.279 MB / 1.443 GB, free: 1.461 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001943/1.618, allocations: 1.051 MB / 1.444 GB, free: 416 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003969/1.622, allocations: 1.566 MB / 1.446 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/1.634, allocations: 5.873 MB / 1.451 GB, free: 8.941 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.634, allocations: 8 kB / 1.451 GB, free: 8.934 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/1.634, allocations: 3.938 kB / 1.451 GB, free: 8.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001846/1.634, allocations: 0 / 1.451 GB, free: 8.93 MB / 1.061 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.009534/1.644, allocations: 3.786 MB / 1.455 GB, free: 5.062 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.644, allocations: 15.92 kB / 1.455 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008079/1.652, allocations: 1.096 MB / 1.456 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007897/1.66, allocations: 3.889 MB / 1.46 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/1.661, allocations: 174.7 kB / 1.46 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005547/1.661, allocations: 152 kB / 1.46 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/1.666, allocations: 1.728 MB / 1.462 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/1.666, allocations: 4 kB / 1.462 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/1.666, allocations: 59.94 kB / 1.462 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/1.666, allocations: 50.61 kB / 1.462 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004419/1.671, allocations: 1.509 MB / 1.464 GB, free: 12.25 MB / 1.076 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.01492/1.686, allocations: 8.484 MB / 1.472 GB, free: 3.156 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/1.688, allocations: 1.095 MB / 1.473 GB, free: 2.012 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.689, allocations: 0.5327 MB / 1.473 GB, free: 1.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/1.69, allocations: 117.7 kB / 1.474 GB, free: 1.348 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.69, allocations: 39.59 kB / 1.474 GB, free: 1.301 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001546/1.691, allocations: 226.5 kB / 1.474 GB, free: 1.078 MB / 1.076 GB Notification: Performance of pre-optimization done (n=74): time 8.817e-06/1.691, allocations: 3.938 kB / 1.474 GB, free: 1.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=74): time 0.004909/1.696, allocations: 1.545 MB / 1.475 GB, free: 15.52 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.696, allocations: 56.06 kB / 1.475 GB, free: 15.45 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/1.702, allocations: 2.94 MB / 1.478 GB, free: 12.51 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/1.703, allocations: 41.7 kB / 1.478 GB, free: 12.46 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0014/1.704, allocations: 1.264 MB / 1.48 GB, free: 11.18 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/1.704, allocations: 272.2 kB / 1.48 GB, free: 10.91 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009296/1.705, allocations: 435 kB / 1.48 GB, free: 10.48 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.705, allocations: 305.1 kB / 1.481 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/1.707, allocations: 0.8403 MB / 1.481 GB, free: 9.336 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.71, allocations: 1.346 MB / 1.483 GB, free: 7.777 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/1.713, allocations: 1.955 MB / 1.485 GB, free: 5.672 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/1.713, allocations: 0 / 1.485 GB, free: 5.672 MB / 1.092 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005173/1.718, allocations: 2.463 MB / 1.487 GB, free: 3.195 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.719, allocations: 11.94 kB / 1.487 GB, free: 3.184 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/1.719, allocations: 12 kB / 1.487 GB, free: 3.172 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/1.719, allocations: 20.34 kB / 1.487 GB, free: 3.152 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.72, allocations: 399.4 kB / 1.487 GB, free: 2.762 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004361/1.721, allocations: 0.6016 MB / 1.488 GB, free: 2.137 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.723, allocations: 213.1 kB / 1.488 GB, free: 1.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.724, allocations: 71.98 kB / 1.488 GB, free: 1.859 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002979/1.727, allocations: 1.456 MB / 1.49 GB, free: 404 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002111/1.729, allocations: 1.323 MB / 1.491 GB, free: 14.87 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003371/1.732, allocations: 1.925 MB / 1.493 GB, free: 12.78 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.24e-05/1.732, allocations: 4 kB / 1.493 GB, free: 12.78 MB / 1.107 GB Notification: Performance of matching and sorting (n=258) (initialization_lambda0): time 0.004872/1.737, allocations: 2.404 MB / 1.495 GB, free: 10.36 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.737, allocations: 8 kB / 1.495 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.737, allocations: 12 kB / 1.495 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.737, allocations: 20 kB / 1.495 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.739, allocations: 371.5 kB / 1.496 GB, free: 9.961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.331e-05/1.739, allocations: 23.94 kB / 1.496 GB, free: 9.938 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/1.741, allocations: 208.5 kB / 1.496 GB, free: 9.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.741, allocations: 67.98 kB / 1.496 GB, free: 9.664 MB / 1.107 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.0004532/1.742, allocations: 275.7 kB / 1.496 GB, free: 9.387 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00069/1.743, allocations: 272.4 kB / 1.496 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/1.746, allocations: 1.181 MB / 1.498 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.746, allocations: 12 kB / 1.498 GB, free: 7.914 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.746, allocations: 7.922 kB / 1.498 GB, free: 7.906 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002392/1.748, allocations: 0.9685 MB / 1.499 GB, free: 6.91 MB / 1.107 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.008738/1.757, allocations: 3.534 MB / 1.502 GB, free: 3.242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.757, allocations: 0 / 1.502 GB, free: 3.242 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.758, allocations: 223.9 kB / 1.502 GB, free: 3.023 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.759, allocations: 8 kB / 1.502 GB, free: 3.016 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/1.759, allocations: 23.97 kB / 1.502 GB, free: 2.992 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004299/1.759, allocations: 0.5899 MB / 1.503 GB, free: 2.379 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.759, allocations: 3.938 kB / 1.503 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/1.764, allocations: 1.79 MB / 1.505 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.765, allocations: 469.4 kB / 1.505 GB, free: 68 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006906/1.766, allocations: 20 kB / 1.505 GB, free: 48 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.768, allocations: 155.7 kB / 1.505 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.768, allocations: 48.53 kB / 1.505 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/1.768, allocations: 35.97 kB / 1.505 GB, free: 15.81 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004203/1.772, allocations: 1.964 MB / 1.507 GB, free: 13.85 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.61e-07/1.772, allocations: 0 / 1.507 GB, free: 13.85 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004847/1.777, allocations: 1.267 MB / 1.508 GB, free: 12.58 MB / 1.123 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.001436/1.779, allocations: 0.4974 MB / 1.509 GB, free: 12.08 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006298/1.785, allocations: 2.77 MB / 1.512 GB, free: 9.316 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.785, allocations: 0 / 1.512 GB, free: 9.316 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/1.787, allocations: 0.4919 MB / 1.512 GB, free: 8.82 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007091/1.794, allocations: 1.352 MB / 1.513 GB, free: 7.488 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.804, allocations: 5.673 MB / 1.519 GB, free: 1.77 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/1.807, allocations: 1.928 MB / 1.521 GB, free: 15.8 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003911/1.811, allocations: 0.7441 MB / 1.522 GB, free: 15.05 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000938/1.811, allocations: 211.4 kB / 1.522 GB, free: 14.85 MB / 1.139 GB Notification: Performance of SimCode: time 3.586e-06/1.812, allocations: 0 / 1.522 GB, free: 14.85 MB / 1.139 GB Notification: Performance of Templates: time 0.09139/1.903, allocations: 51.82 MB / 1.572 GB, free: 11.56 MB / 1.186 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)