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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001629/0.001629, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8005/0.8005, allocations: 126.1 MB / 416.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.91 kB / 0.4945 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 78.7 MB / 0.5713 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6563/1.023, allocations: 321.3 MB / 0.8851 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03473/1.058, allocations: 22.16 MB / 0.9067 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004719/1.063, allocations: 91.5 kB / 0.9068 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01793/1.081, allocations: 7.73 MB / 0.9144 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.094, allocations: 3.98 MB / 0.9182 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006655/1.101, allocations: 2.242 MB / 0.9204 GB, free: 11.07 MB / 0.6387 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01817/1.119, allocations: 12.34 MB / 0.9325 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005016/1.124, allocations: 2.207 MB / 0.9346 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008067/1.132, allocations: 3.164 MB / 0.9377 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004574/1.137, allocations: 1.983 MB / 0.9397 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008238/1.138, allocations: 232 kB / 0.9399 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00928/1.147, allocations: 3.987 MB / 0.9438 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002005/1.149, allocations: 1.165 MB / 0.9449 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003854/1.153, allocations: 1.695 MB / 0.9466 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/1.166, allocations: 5.978 MB / 0.9524 GB, free: 10.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.166, allocations: 7.938 kB / 0.9524 GB, free: 10.19 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.455e-06/1.166, allocations: 0 / 0.9524 GB, free: 10.19 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001921/1.166, allocations: 4 kB / 0.9524 GB, free: 10.18 MB / 0.67 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.009289/1.176, allocations: 3.778 MB / 0.9561 GB, free: 6.324 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.176, allocations: 8.031 kB / 0.9561 GB, free: 6.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007231/1.183, allocations: 1.1 MB / 0.9572 GB, free: 5.211 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00768/1.191, allocations: 3.881 MB / 0.961 GB, free: 1.266 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/1.191, allocations: 166.7 kB / 0.9611 GB, free: 1.102 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/1.192, allocations: 156 kB / 0.9613 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/1.196, allocations: 1.735 MB / 0.963 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/1.196, allocations: 3.906 kB / 0.963 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/1.196, allocations: 60 kB / 0.963 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.988e-05/1.196, allocations: 50.56 kB / 0.9631 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003992/1.2, allocations: 1.509 MB / 0.9646 GB, free: 13.52 MB / 0.6856 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.214, allocations: 8.488 MB / 0.9729 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/1.217, allocations: 1.099 MB / 0.9739 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.218, allocations: 0.5336 MB / 0.9745 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.218, allocations: 113.7 kB / 0.9746 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.218, allocations: 43.2 kB / 0.9746 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001269/1.22, allocations: 174.6 kB / 0.9748 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=74): time 5.681e-06/1.22, allocations: 4 kB / 0.9748 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74): time 0.004689/1.224, allocations: 1.553 MB / 0.9763 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.224, allocations: 68 kB / 0.9764 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/1.23, allocations: 2.932 MB / 0.9792 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/1.23, allocations: 41.7 kB / 0.9793 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001248/1.231, allocations: 1.272 MB / 0.9805 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/1.231, allocations: 272.2 kB / 0.9808 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/1.232, allocations: 435.1 kB / 0.9812 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.232, allocations: 305.1 kB / 0.9815 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/1.234, allocations: 0.8403 MB / 0.9823 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/1.236, allocations: 1.346 MB / 0.9836 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/1.24, allocations: 1.973 MB / 0.9855 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.24, allocations: 0 / 0.9855 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004976/1.245, allocations: 2.459 MB / 0.9879 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/1.245, allocations: 12.34 kB / 0.9879 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/1.245, allocations: 12 kB / 0.988 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/1.245, allocations: 23.98 kB / 0.988 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.246, allocations: 399.4 kB / 0.9884 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/1.247, allocations: 0.6133 MB / 0.989 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.249, allocations: 208.5 kB / 0.9892 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.25, allocations: 71.92 kB / 0.9892 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002999/1.253, allocations: 1.464 MB / 0.9907 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002233/1.255, allocations: 1.326 MB / 0.9919 GB, free: 152 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003365/1.258, allocations: 1.936 MB / 0.9938 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.529e-05/1.258, allocations: 4 kB / 0.9938 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=258) (initialization_lambda0): time 0.004739/1.263, allocations: 2.412 MB / 0.9962 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.263, allocations: 12 kB / 0.9962 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/1.263, allocations: 12 kB / 0.9962 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/1.263, allocations: 19.94 kB / 0.9962 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.265, allocations: 371.6 kB / 0.9966 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/1.265, allocations: 27.92 kB / 0.9966 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.267, allocations: 204.5 kB / 0.9968 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.267, allocations: 71.97 kB / 0.9969 GB, free: 10.93 MB / 0.7169 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 (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.0004313/1.268, allocations: 275.8 kB / 0.9971 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008051/1.269, allocations: 268.4 kB / 0.9974 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/1.272, allocations: 1.205 MB / 0.9986 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.272, allocations: 8 kB / 0.9986 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/1.272, allocations: 3.938 kB / 0.9986 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/1.275, allocations: 0.9802 MB / 0.9995 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008474/1.283, allocations: 3.4 MB / 1.003 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.283, allocations: 12.06 kB / 1.003 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.284, allocations: 223.7 kB / 1.003 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/1.284, allocations: 4 kB / 1.003 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.393e-05/1.285, allocations: 23.98 kB / 1.003 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003114/1.285, allocations: 0.5859 MB / 1.004 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.285, allocations: 12 kB / 1.004 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/1.29, allocations: 1.82 MB / 1.005 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.291, allocations: 465.4 kB / 1.006 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007981/1.292, allocations: 23.92 kB / 1.006 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.294, allocations: 148.3 kB / 1.006 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.294, allocations: 44.59 kB / 1.006 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/1.294, allocations: 31.97 kB / 1.006 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004445/1.299, allocations: 1.96 MB / 1.008 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/1.299, allocations: 0 / 1.008 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004545/1.303, allocations: 1.275 MB / 1.009 GB, free: 13.95 MB / 0.7325 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 (77): * Single equations (assignments): 76 * 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.0014/1.305, allocations: 0.4934 MB / 1.01 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006531/1.311, allocations: 2.87 MB / 1.013 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.311, allocations: 8.062 kB / 1.013 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.313, allocations: 0.4996 MB / 1.013 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007092/1.32, allocations: 1.461 MB / 1.015 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.33, allocations: 5.704 MB / 1.02 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/1.333, allocations: 1.931 MB / 1.022 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004089/1.337, allocations: 0.7363 MB / 1.023 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.338, allocations: 219.3 kB / 1.023 GB, free: 60 kB / 0.7325 GB Notification: Performance of SimCode: time 1.483e-06/1.338, allocations: 0 / 1.023 GB, free: 60 kB / 0.7325 GB Notification: Performance of Templates: time 0.3961/1.734, allocations: 53.19 MB / 1.075 GB, free: 313.8 MB / 0.7481 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)