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.001583/0.001583, allocations: 105.1 kB / 16.64 MB, free: 6.816 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.001734/0.001734, allocations: 186 kB / 17.57 MB, free: 5.922 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.413/1.413, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8304/0.8304, allocations: 125.3 MB / 416.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 0.4943 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4071, allocations: 78.56 MB / 0.571 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7504/1.158, allocations: 321.4 MB / 0.8849 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03808/1.196, allocations: 22.16 MB / 0.9065 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005178/1.201, allocations: 87.44 kB / 0.9066 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0163/1.217, allocations: 7.831 MB / 0.9142 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/1.231, allocations: 3.96 MB / 0.9181 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00711/1.238, allocations: 2.227 MB / 0.9203 GB, free: 12.42 MB / 0.6387 GB [/var/lib/jenkins1/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.01856/1.257, allocations: 11.27 MB / 0.9313 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004451/1.261, allocations: 2.195 MB / 0.9334 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008956/1.27, allocations: 3.453 MB / 0.9368 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004824/1.275, allocations: 1.942 MB / 0.9387 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008691/1.276, allocations: 232 kB / 0.9389 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/1.287, allocations: 3.983 MB / 0.9428 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002544/1.289, allocations: 1.153 MB / 0.9439 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003548/1.293, allocations: 1.703 MB / 0.9456 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009708/1.303, allocations: 4.463 MB / 0.95 GB, free: 13.92 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/1.303, allocations: 7.938 kB / 0.95 GB, free: 13.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.154e-06/1.303, allocations: 0 / 0.95 GB, free: 13.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001144/1.303, allocations: 4 kB / 0.95 GB, free: 13.91 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.008561/1.311, allocations: 3.766 MB / 0.9536 GB, free: 10.06 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.312, allocations: 8.031 kB / 0.9536 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007461/1.319, allocations: 1.104 MB / 0.9547 GB, free: 8.945 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/1.327, allocations: 3.865 MB / 0.9585 GB, free: 5.016 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/1.327, allocations: 178.7 kB / 0.9587 GB, free: 4.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/1.328, allocations: 156 kB / 0.9588 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/1.332, allocations: 1.731 MB / 0.9605 GB, free: 2.895 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/1.332, allocations: 0 / 0.9605 GB, free: 2.895 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/1.332, allocations: 56 kB / 0.9606 GB, free: 2.84 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/1.332, allocations: 58.55 kB / 0.9606 GB, free: 2.781 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/1.336, allocations: 1.505 MB / 0.9621 GB, free: 1.27 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 preOpt removeSimpleEquations (simulation): time 0.01472/1.351, allocations: 8.743 MB / 0.9706 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/1.353, allocations: 1.099 MB / 0.9717 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/1.355, allocations: 0.5334 MB / 0.9722 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/1.355, allocations: 109.7 kB / 0.9723 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/1.355, allocations: 43.22 kB / 0.9724 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001276/1.356, allocations: 174.7 kB / 0.9725 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=74): time 2.996e-06/1.356, allocations: 0 / 0.9725 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74): time 0.00456/1.361, allocations: 1.549 MB / 0.974 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.361, allocations: 60.06 kB / 0.9741 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/1.365, allocations: 2.936 MB / 0.977 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/1.366, allocations: 49.7 kB / 0.977 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.367, allocations: 1.268 MB / 0.9783 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/1.367, allocations: 272.2 kB / 0.9785 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/1.368, allocations: 431.1 kB / 0.9789 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.368, allocations: 305.1 kB / 0.9792 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/1.37, allocations: 0.8442 MB / 0.98 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/1.372, allocations: 1.346 MB / 0.9814 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/1.376, allocations: 1.973 MB / 0.9833 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.376, allocations: 4 kB / 0.9833 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005411/1.381, allocations: 2.47 MB / 0.9857 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/1.381, allocations: 8 kB / 0.9857 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.381, allocations: 16.34 kB / 0.9857 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/1.381, allocations: 20 kB / 0.9857 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.383, allocations: 399.4 kB / 0.9861 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/1.384, allocations: 0.6133 MB / 0.9867 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/1.386, allocations: 209.6 kB / 0.9869 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.387, allocations: 79.91 kB / 0.987 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003107/1.39, allocations: 1.469 MB / 0.9884 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002265/1.392, allocations: 1.329 MB / 0.9897 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003502/1.396, allocations: 1.932 MB / 0.9916 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.016e-05/1.396, allocations: 4 kB / 0.9916 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of matching and sorting (n=258) (initialization_lambda0): time 0.005055/1.401, allocations: 2.408 MB / 0.994 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.401, allocations: 12.06 kB / 0.994 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.401, allocations: 12 kB / 0.994 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/1.401, allocations: 23.98 kB / 0.994 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.402, allocations: 371.4 kB / 0.9944 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/1.402, allocations: 23.94 kB / 0.9944 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.405, allocations: 216.3 kB / 0.9946 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/1.405, allocations: 67.98 kB / 0.9947 GB, free: 14.32 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.0004984/1.405, allocations: 282.2 kB / 0.9949 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/1.406, allocations: 268.4 kB / 0.9952 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/1.41, allocations: 1.209 MB / 0.9964 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.41, allocations: 4 kB / 0.9964 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.41, allocations: 7.938 kB / 0.9964 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002578/1.412, allocations: 0.9802 MB / 0.9973 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008008/1.42, allocations: 3.4 MB / 1.001 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.42, allocations: 4 kB / 1.001 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.422, allocations: 223.8 kB / 1.001 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/1.422, allocations: 4 kB / 1.001 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/1.422, allocations: 23.98 kB / 1.001 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000416/1.422, allocations: 0.5898 MB / 1.001 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.422, allocations: 4.031 kB / 1.001 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/1.427, allocations: 1.812 MB / 1.003 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.428, allocations: 461.5 kB / 1.004 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.428, allocations: 20 kB / 1.004 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.43, allocations: 155.6 kB / 1.004 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.43, allocations: 44.53 kB / 1.004 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/1.43, allocations: 39.91 kB / 1.004 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003417/1.434, allocations: 1.956 MB / 1.006 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/1.434, allocations: 0 / 1.006 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003732/1.437, allocations: 1.271 MB / 1.007 GB, free: 1.352 MB / 0.7169 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.001322/1.439, allocations: 0.4962 MB / 1.008 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006841/1.446, allocations: 2.882 MB / 1.01 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.446, allocations: 0.75 kB / 1.01 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/1.447, allocations: 0.5036 MB / 1.011 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006255/1.453, allocations: 1.457 MB / 1.012 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.464, allocations: 5.869 MB / 1.018 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.466, allocations: 1.913 MB / 1.02 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009682/1.467, allocations: 219.3 kB / 1.02 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of SimCode: time 1.442e-06/1.467, allocations: 0 / 1.02 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of Templates: time 0.3767/1.843, allocations: 58.48 MB / 1.077 GB, free: 280.1 MB / 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)