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.0008435/0.0008436, allocations: 90.48 kB / 16.67 MB, free: 6.598 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.001006/0.001007, allocations: 179.1 kB / 17.58 MB, free: 6.18 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.403/1.403, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7392/0.7392, allocations: 115.5 MB / 408.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4544, allocations: 77.51 MB / 0.5606 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.72/1.174, allocations: 318.6 MB / 0.8717 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03322/1.208, allocations: 22.27 MB / 0.8934 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005086/1.213, allocations: 84.44 kB / 0.8935 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0156/1.229, allocations: 7.439 MB / 0.9008 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01354/1.242, allocations: 3.999 MB / 0.9047 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007136/1.249, allocations: 2.186 MB / 0.9068 GB, free: 9.535 MB / 0.6075 GB [/var/lib/jenkins1/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.02051/1.27, allocations: 14.38 MB / 0.9208 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004489/1.274, allocations: 1.859 MB / 0.9227 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007797/1.282, allocations: 2.758 MB / 0.9254 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004607/1.287, allocations: 1.85 MB / 0.9272 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009606/1.288, allocations: 96 kB / 0.9273 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009562/1.297, allocations: 4.252 MB / 0.9314 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/1.299, allocations: 1.015 MB / 0.9324 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003774/1.303, allocations: 1.543 MB / 0.9339 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008051/1.311, allocations: 4.339 MB / 0.9381 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.311, allocations: 0 / 0.9381 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.773e-06/1.311, allocations: 0 / 0.9381 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001905/1.311, allocations: 0 / 0.9381 GB, free: 10.95 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.008513/1.32, allocations: 3.216 MB / 0.9413 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.32, allocations: 16.03 kB / 0.9413 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007634/1.328, allocations: 1.135 MB / 0.9424 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008284/1.336, allocations: 3.891 MB / 0.9462 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005314/1.337, allocations: 182.7 kB / 0.9464 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005568/1.337, allocations: 155.9 kB / 0.9465 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004981/1.342, allocations: 1.747 MB / 0.9482 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/1.342, allocations: 3.938 kB / 0.9482 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/1.342, allocations: 57.48 kB / 0.9483 GB, free: 448 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/1.342, allocations: 54.61 kB / 0.9483 GB, free: 392 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004478/1.347, allocations: 1.529 MB / 0.9498 GB, free: 14.85 MB / 0.6544 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.01549/1.362, allocations: 8.55 MB / 0.9582 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/1.365, allocations: 1.099 MB / 0.9593 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/1.367, allocations: 0.5571 MB / 0.9598 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/1.367, allocations: 105.2 kB / 0.9599 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.367, allocations: 43.22 kB / 0.9599 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001471/1.368, allocations: 226.6 kB / 0.9602 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 7.193e-06/1.368, allocations: 0 / 0.9602 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.004841/1.373, allocations: 1.572 MB / 0.9617 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.373, allocations: 60.06 kB / 0.9618 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005764/1.379, allocations: 2.944 MB / 0.9646 GB, free: 15.06 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/1.379, allocations: 48.83 kB / 0.9647 GB, free: 15.01 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.381, allocations: 1.266 MB / 0.9659 GB, free: 13.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/1.381, allocations: 268.1 kB / 0.9662 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.381, allocations: 229.3 kB / 0.9664 GB, free: 13.26 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.382, allocations: 305.1 kB / 0.9667 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.383, allocations: 0.8355 MB / 0.9675 GB, free: 12.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/1.386, allocations: 1.358 MB / 0.9688 GB, free: 10.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/1.389, allocations: 1.986 MB / 0.9708 GB, free: 8.414 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/1.389, allocations: 8 kB / 0.9708 GB, free: 8.406 MB / 0.67 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005238/1.395, allocations: 2.466 MB / 0.9732 GB, free: 5.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003747/1.395, allocations: 436.7 kB / 0.9736 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/1.395, allocations: 15.94 kB / 0.9736 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/1.395, allocations: 20 kB / 0.9736 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.397, allocations: 403.4 kB / 0.974 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004206/1.397, allocations: 0.6132 MB / 0.9746 GB, free: 4.277 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/1.4, allocations: 220.8 kB / 0.9748 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/1.4, allocations: 71.97 kB / 0.9749 GB, free: 3.992 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.4, allocations: 4 kB / 0.9749 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004144/1.404, allocations: 2.155 MB / 0.977 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/1.405, allocations: 8.344 kB / 0.977 GB, free: 1.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.405, allocations: 24 kB / 0.977 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/1.406, allocations: 379.4 kB / 0.9774 GB, free: 1.426 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.878e-05/1.406, allocations: 27.88 kB / 0.9774 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.408, allocations: 207.2 kB / 0.9776 GB, free: 1.195 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/1.409, allocations: 68 kB / 0.9777 GB, free: 1.129 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.001709/1.41, allocations: 0.8059 MB / 0.9785 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006737/1.411, allocations: 264.5 kB / 0.9787 GB, free: 52 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/1.414, allocations: 1.222 MB / 0.9799 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.414, allocations: 11.94 kB / 0.9799 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.414, allocations: 0 / 0.9799 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002495/1.417, allocations: 0.9959 MB / 0.9809 GB, free: 13.79 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 postOpt removeSimpleEquations (simulation): time 0.007945/1.425, allocations: 3.554 MB / 0.9844 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.425, allocations: 192 / 0.9844 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.426, allocations: 227.7 kB / 0.9846 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/1.426, allocations: 4 kB / 0.9846 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/1.426, allocations: 23.98 kB / 0.9846 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003114/1.427, allocations: 0.5938 MB / 0.9852 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.427, allocations: 4.031 kB / 0.9852 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004423/1.431, allocations: 1.825 MB / 0.987 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.432, allocations: 481.3 kB / 0.9874 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005683/1.433, allocations: 16 kB / 0.9874 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.435, allocations: 160.9 kB / 0.9876 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.435, allocations: 52.5 kB / 0.9877 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/1.435, allocations: 31.97 kB / 0.9877 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003594/1.438, allocations: 1.96 MB / 0.9896 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/1.438, allocations: 0 / 0.9896 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003669/1.442, allocations: 1.27 MB / 0.9908 GB, free: 3.406 MB / 0.6856 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.001218/1.443, allocations: 0.4966 MB / 0.9913 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005749/1.449, allocations: 2.802 MB / 0.9941 GB, free: 148 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.449, allocations: 0 / 0.9941 GB, free: 148 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/1.45, allocations: 0.511 MB / 0.9946 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006929/1.457, allocations: 1.36 MB / 0.9959 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009332/1.467, allocations: 5.919 MB / 1.002 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/1.468, allocations: 1.913 MB / 1.004 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008606/1.469, allocations: 215.4 kB / 1.004 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of SimCode: time 2.445e-06/1.469, allocations: 0 / 1.004 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of Templates: time 0.3727/1.842, allocations: 58.06 MB / 1.06 GB, free: 284.8 MB / 0.7169 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)