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.0009483/0.0009483, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 185 kB / 16.92 MB, free: 6.773 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6849/0.6849, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8.5 kB / 495.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 77.54 MB / 0.56 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9637/1.105, allocations: 318.5 MB / 0.871 GB, free: 37.41 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02956/1.135, allocations: 22.27 MB / 0.8928 GB, free: 37.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004868/1.14, allocations: 89.17 kB / 0.8929 GB, free: 37.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01395/1.154, allocations: 7.443 MB / 0.9001 GB, free: 36.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01275/1.166, allocations: 3.991 MB / 0.904 GB, free: 36.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006206/1.173, allocations: 2.192 MB / 0.9062 GB, free: 36.65 MB / 0.6387 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.01823/1.191, allocations: 14.37 MB / 0.9202 GB, free: 34.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/1.194, allocations: 1.857 MB / 0.922 GB, free: 33.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007209/1.201, allocations: 2.762 MB / 0.9247 GB, free: 32.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/1.206, allocations: 1.843 MB / 0.9265 GB, free: 32.67 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006913/1.206, allocations: 96.88 kB / 0.9266 GB, free: 32.67 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008484/1.215, allocations: 4.252 MB / 0.9308 GB, free: 31.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/1.216, allocations: 1.014 MB / 0.9317 GB, free: 30.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00298/1.219, allocations: 1.544 MB / 0.9333 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009002/1.228, allocations: 5.784 MB / 0.9389 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.228, allocations: 0 / 0.9389 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.084e-06/1.228, allocations: 0 / 0.9389 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.782e-05/1.229, allocations: 4 kB / 0.9389 GB, free: 24.12 MB / 0.6387 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.005465/1.234, allocations: 3.219 MB / 0.9421 GB, free: 20.87 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/1.234, allocations: 11.97 kB / 0.9421 GB, free: 20.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00694/1.241, allocations: 1.14 MB / 0.9432 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006025/1.247, allocations: 3.879 MB / 0.947 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/1.248, allocations: 186.7 kB / 0.9471 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/1.248, allocations: 150.1 kB / 0.9473 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/1.251, allocations: 1.748 MB / 0.949 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/1.251, allocations: 0 / 0.949 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/1.252, allocations: 60 kB / 0.949 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/1.252, allocations: 50.61 kB / 0.9491 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/1.255, allocations: 1.535 MB / 0.9506 GB, free: 12.1 MB / 0.6387 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.009978/1.265, allocations: 8.552 MB / 0.9589 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/1.267, allocations: 1.11 MB / 0.96 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/1.268, allocations: 0.5523 MB / 0.9606 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.269, allocations: 106.5 kB / 0.9607 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/1.269, allocations: 51.16 kB / 0.9607 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001072/1.27, allocations: 214.7 kB / 0.9609 GB, free: 1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=74): time 2.625e-06/1.27, allocations: 0 / 0.9609 GB, free: 1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74): time 0.003957/1.274, allocations: 1.585 MB / 0.9625 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.274, allocations: 56.06 kB / 0.9625 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/1.278, allocations: 2.944 MB / 0.9654 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.278, allocations: 45.7 kB / 0.9654 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.279, allocations: 1.26 MB / 0.9667 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/1.279, allocations: 274.8 kB / 0.9669 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/1.279, allocations: 225.5 kB / 0.9672 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/1.279, allocations: 301.1 kB / 0.9674 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/1.281, allocations: 0.8394 MB / 0.9683 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/1.283, allocations: 1.359 MB / 0.9696 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/1.287, allocations: 1.984 MB / 0.9715 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.287, allocations: 4 kB / 0.9715 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004739/1.291, allocations: 2.48 MB / 0.974 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/1.292, allocations: 445.5 kB / 0.9744 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.292, allocations: 12 kB / 0.9744 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/1.292, allocations: 18.53 kB / 0.9744 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.293, allocations: 404.2 kB / 0.9748 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/1.294, allocations: 0.6169 MB / 0.9754 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/1.296, allocations: 203.3 kB / 0.9756 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.296, allocations: 75.97 kB / 0.9757 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.296, allocations: 4 kB / 0.9757 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003929/1.3, allocations: 2.161 MB / 0.9778 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/1.3, allocations: 15.94 kB / 0.9778 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/1.3, allocations: 16 kB / 0.9778 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.302, allocations: 378.3 kB / 0.9782 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/1.302, allocations: 25.53 kB / 0.9782 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.304, allocations: 211.2 kB / 0.9784 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.304, allocations: 64 kB / 0.9785 GB, free: 14.73 MB / 0.67 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.001482/1.306, allocations: 0.8181 MB / 0.9793 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005398/1.306, allocations: 268.4 kB / 0.9795 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/1.309, allocations: 1.205 MB / 0.9807 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.309, allocations: 8 kB / 0.9807 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.309, allocations: 0 / 0.9807 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002412/1.312, allocations: 1.007 MB / 0.9817 GB, free: 11.41 MB / 0.67 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.007111/1.319, allocations: 3.553 MB / 0.9851 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.319, allocations: 0 / 0.9851 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.32, allocations: 228.9 kB / 0.9854 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.32, allocations: 8 kB / 0.9854 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/1.32, allocations: 23.97 kB / 0.9854 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002854/1.321, allocations: 0.5944 MB / 0.986 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.321, allocations: 0 / 0.986 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/1.325, allocations: 1.831 MB / 0.9878 GB, free: 5.027 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.326, allocations: 468.1 kB / 0.9882 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/1.326, allocations: 16.09 kB / 0.9882 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.328, allocations: 164.4 kB / 0.9884 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.328, allocations: 52.42 kB / 0.9884 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/1.328, allocations: 35.97 kB / 0.9885 GB, free: 4.289 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002945/1.331, allocations: 1.964 MB / 0.9904 GB, free: 2.332 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.01e-07/1.331, allocations: 4 kB / 0.9904 GB, free: 2.328 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003467/1.334, allocations: 1.267 MB / 0.9916 GB, free: 1.059 MB / 0.67 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.001278/1.336, allocations: 0.5012 MB / 0.9921 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005872/1.342, allocations: 2.796 MB / 0.9948 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.342, allocations: 4 kB / 0.9948 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.343, allocations: 0.5064 MB / 0.9953 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006649/1.35, allocations: 1.351 MB / 0.9967 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008618/1.358, allocations: 5.761 MB / 1.002 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.36, allocations: 1.928 MB / 1.004 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003216/1.363, allocations: 0.7363 MB / 1.005 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/1.364, allocations: 211.4 kB / 1.005 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of SimCode: time 1.243e-06/1.364, allocations: 3.094 kB / 1.005 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of Templates: time 0.09129/1.455, allocations: 51.64 MB / 1.056 GB, free: 408 kB / 0.7325 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)