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.00133/0.00133, allocations: 103.9 kB / 16.52 MB, free: 6.699 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.0012/0.0012, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 15.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7494/0.7494, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 493.5 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3915, allocations: 76.18 MB / 0.5564 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6844/1.076, allocations: 322.9 MB / 0.8717 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03621/1.112, allocations: 22.55 MB / 0.8937 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005673/1.118, allocations: 89.84 kB / 0.8938 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01676/1.135, allocations: 7.463 MB / 0.9011 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/1.149, allocations: 3.991 MB / 0.905 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006972/1.156, allocations: 2.187 MB / 0.9071 GB, free: 13.93 MB / 0.6231 GB [/var/lib/jenkins1/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.02106/1.177, allocations: 14.38 MB / 0.9212 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003875/1.181, allocations: 1.91 MB / 0.9231 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007973/1.189, allocations: 2.829 MB / 0.9258 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004782/1.194, allocations: 1.919 MB / 0.9277 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008887/1.194, allocations: 124 kB / 0.9278 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009532/1.204, allocations: 4.275 MB / 0.932 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002464/1.206, allocations: 1.044 MB / 0.933 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003492/1.21, allocations: 1.574 MB / 0.9345 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007775/1.218, allocations: 4.424 MB / 0.9389 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.218, allocations: 0 / 0.9389 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.814e-06/1.218, allocations: 0 / 0.9389 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000136/1.218, allocations: 4 kB / 0.9389 GB, free: 13.32 MB / 0.6544 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.008673/1.227, allocations: 3.786 MB / 0.9426 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.227, allocations: 8.031 kB / 0.9426 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007764/1.235, allocations: 1.1 MB / 0.9436 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007937/1.243, allocations: 3.885 MB / 0.9474 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/1.243, allocations: 166.7 kB / 0.9476 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/1.243, allocations: 148 kB / 0.9477 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/1.247, allocations: 1.739 MB / 0.9494 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/1.247, allocations: 3.938 kB / 0.9494 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/1.247, allocations: 60 kB / 0.9495 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/1.248, allocations: 50.62 kB / 0.9495 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/1.251, allocations: 1.501 MB / 0.951 GB, free: 0.6641 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.01396/1.265, allocations: 8.503 MB / 0.9593 GB, free: 7.551 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.268, allocations: 1.091 MB / 0.9604 GB, free: 6.418 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/1.269, allocations: 0.5298 MB / 0.9609 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/1.27, allocations: 109.7 kB / 0.961 GB, free: 5.762 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/1.27, allocations: 47.22 kB / 0.961 GB, free: 5.703 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001608/1.271, allocations: 218.7 kB / 0.9613 GB, free: 5.488 MB / 0.67 GB Notification: Performance of pre-optimization done (n=74): time 5.01e-06/1.271, allocations: 0 / 0.9613 GB, free: 5.488 MB / 0.67 GB Notification: Performance of matching and sorting (n=74): time 0.004844/1.276, allocations: 1.537 MB / 0.9628 GB, free: 3.945 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/1.276, allocations: 60.06 kB / 0.9628 GB, free: 3.875 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005025/1.281, allocations: 2.944 MB / 0.9657 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002674/1.281, allocations: 45.7 kB / 0.9657 GB, free: 0.875 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.283, allocations: 1.264 MB / 0.967 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/1.283, allocations: 284.1 kB / 0.9672 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006692/1.284, allocations: 439 kB / 0.9677 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.284, allocations: 301.1 kB / 0.9679 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/1.286, allocations: 0.8325 MB / 0.9688 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/1.288, allocations: 1.343 MB / 0.9701 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/1.291, allocations: 1.962 MB / 0.972 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.291, allocations: 4 kB / 0.972 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00503/1.296, allocations: 2.447 MB / 0.9744 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.297, allocations: 12 kB / 0.9744 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/1.297, allocations: 15.98 kB / 0.9744 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/1.297, allocations: 16 kB / 0.9744 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.298, allocations: 399.7 kB / 0.9748 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/1.299, allocations: 0.6093 MB / 0.9754 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/1.301, allocations: 204.6 kB / 0.9756 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/1.302, allocations: 75.97 kB / 0.9757 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00289/1.304, allocations: 1.457 MB / 0.9771 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001948/1.306, allocations: 1.33 MB / 0.9784 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003081/1.31, allocations: 1.917 MB / 0.9803 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-05/1.31, allocations: 4 kB / 0.9803 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of matching and sorting (n=258) (initialization_lambda0): time 0.00472/1.314, allocations: 2.4 MB / 0.9826 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.314, allocations: 16.03 kB / 0.9826 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.314, allocations: 19.88 kB / 0.9826 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/1.314, allocations: 20 kB / 0.9827 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.316, allocations: 375.4 kB / 0.983 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.764e-05/1.316, allocations: 23.94 kB / 0.983 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.319, allocations: 209.1 kB / 0.9832 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.319, allocations: 71.98 kB / 0.9833 GB, free: 14.07 MB / 0.7012 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.0004926/1.319, allocations: 263.9 kB / 0.9836 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/1.32, allocations: 272.4 kB / 0.9838 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/1.323, allocations: 1.189 MB / 0.985 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.323, allocations: 8 kB / 0.985 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.323, allocations: 0 / 0.985 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002243/1.325, allocations: 0.9685 MB / 0.9859 GB, free: 11.32 MB / 0.7012 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.008045/1.334, allocations: 3.526 MB / 0.9894 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.334, allocations: 4 kB / 0.9894 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.335, allocations: 223.9 kB / 0.9896 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/1.335, allocations: 4 kB / 0.9896 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/1.335, allocations: 27.92 kB / 0.9896 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003313/1.335, allocations: 0.5899 MB / 0.9902 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.335, allocations: 0 / 0.9902 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004423/1.34, allocations: 1.798 MB / 0.992 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.341, allocations: 469.4 kB / 0.9924 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/1.342, allocations: 16 kB / 0.9924 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/1.343, allocations: 155.8 kB / 0.9926 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.343, allocations: 48.5 kB / 0.9926 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/1.343, allocations: 31.91 kB / 0.9926 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003097/1.346, allocations: 1.964 MB / 0.9946 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.81e-07/1.346, allocations: 0 / 0.9946 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004061/1.351, allocations: 1.271 MB / 0.9958 GB, free: 0.9961 MB / 0.7012 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.00131/1.352, allocations: 0.5025 MB / 0.9963 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005796/1.358, allocations: 2.755 MB / 0.999 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.358, allocations: 4.125 kB / 0.999 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.359, allocations: 0.4914 MB / 0.9995 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0067/1.366, allocations: 1.36 MB / 1.001 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009982/1.376, allocations: 5.84 MB / 1.006 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.378, allocations: 1.914 MB / 1.008 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.379, allocations: 223.3 kB / 1.009 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.379, allocations: 0 / 1.009 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.3847/1.763, allocations: 58.53 MB / 1.066 GB, free: 301.8 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)