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.001103/0.001103, allocations: 104.9 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.001144/0.001144, 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3505, allocations: 77.91 MB / 0.5667 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.709/1.06, allocations: 321.3 MB / 0.8804 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03256/1.092, allocations: 22.16 MB / 0.9021 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005331/1.098, allocations: 82 kB / 0.9022 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01492/1.113, allocations: 7.736 MB / 0.9097 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/1.125, allocations: 3.991 MB / 0.9136 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006362/1.131, allocations: 2.24 MB / 0.9158 GB, free: 1.566 MB / 0.6231 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.01807/1.149, allocations: 12.33 MB / 0.9278 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003993/1.154, allocations: 2.202 MB / 0.93 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007703/1.161, allocations: 3.164 MB / 0.9331 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/1.165, allocations: 1.971 MB / 0.935 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007159/1.166, allocations: 232 kB / 0.9352 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/1.176, allocations: 3.999 MB / 0.9391 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001762/1.178, allocations: 1.165 MB / 0.9403 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002706/1.181, allocations: 1.703 MB / 0.9419 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.193, allocations: 5.974 MB / 0.9478 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.193, allocations: 0 / 0.9478 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/1.193, allocations: 0 / 0.9478 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.138e-05/1.193, allocations: 0 / 0.9478 GB, free: 0.7109 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.006975/1.2, allocations: 3.786 MB / 0.9515 GB, free: 12.84 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.2, allocations: 12.56 kB / 0.9515 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007161/1.207, allocations: 1.104 MB / 0.9525 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006619/1.214, allocations: 3.881 MB / 0.9563 GB, free: 7.777 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004303/1.214, allocations: 174.7 kB / 0.9565 GB, free: 7.605 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/1.215, allocations: 156 kB / 0.9567 GB, free: 7.453 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/1.218, allocations: 1.735 MB / 0.9583 GB, free: 5.656 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.218, allocations: 3.906 kB / 0.9583 GB, free: 5.652 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/1.219, allocations: 63.98 kB / 0.9584 GB, free: 5.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/1.219, allocations: 46.62 kB / 0.9585 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/1.222, allocations: 1.501 MB / 0.9599 GB, free: 4.035 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.01239/1.235, allocations: 8.499 MB / 0.9682 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/1.237, allocations: 1.087 MB / 0.9693 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.239, allocations: 0.5341 MB / 0.9698 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/1.239, allocations: 109.7 kB / 0.9699 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.239, allocations: 43.22 kB / 0.9699 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001639/1.241, allocations: 170.6 kB / 0.9701 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=74): time 3.316e-06/1.241, allocations: 4 kB / 0.9701 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74): time 0.00453/1.245, allocations: 1.561 MB / 0.9716 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.245, allocations: 60.06 kB / 0.9717 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/1.249, allocations: 2.94 MB / 0.9746 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/1.249, allocations: 45.7 kB / 0.9746 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.25, allocations: 1.264 MB / 0.9758 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/1.25, allocations: 284.1 kB / 0.9761 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005815/1.251, allocations: 435.1 kB / 0.9765 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/1.251, allocations: 301.1 kB / 0.9768 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/1.253, allocations: 0.8364 MB / 0.9776 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/1.255, allocations: 1.35 MB / 0.979 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003326/1.258, allocations: 1.966 MB / 0.9809 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.258, allocations: 4 kB / 0.9809 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004672/1.263, allocations: 2.462 MB / 0.9833 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.263, allocations: 19.92 kB / 0.9833 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/1.263, allocations: 15.98 kB / 0.9833 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/1.263, allocations: 16 kB / 0.9833 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/1.265, allocations: 395.7 kB / 0.9837 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003667/1.265, allocations: 0.6133 MB / 0.9843 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.267, allocations: 212.9 kB / 0.9845 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/1.268, allocations: 67.98 kB / 0.9846 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002552/1.27, allocations: 1.469 MB / 0.986 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001878/1.272, allocations: 1.318 MB / 0.9873 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003032/1.275, allocations: 1.94 MB / 0.9892 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-06/1.275, allocations: 0 / 0.9892 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=258) (initialization_lambda0): time 0.004466/1.28, allocations: 2.419 MB / 0.9916 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.28, allocations: 11.94 kB / 0.9916 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.28, allocations: 12 kB / 0.9916 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.28, allocations: 20 kB / 0.9916 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.281, allocations: 367.8 kB / 0.9919 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/1.281, allocations: 35.86 kB / 0.992 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/1.283, allocations: 204.5 kB / 0.9922 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.284, allocations: 67.98 kB / 0.9922 GB, free: 1.418 MB / 0.7012 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.0004091/1.284, allocations: 279.6 kB / 0.9925 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/1.284, allocations: 272.4 kB / 0.9928 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/1.288, allocations: 1.201 MB / 0.9939 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/1.288, allocations: 11.98 kB / 0.994 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.288, allocations: 0 / 0.994 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002287/1.29, allocations: 0.9841 MB / 0.9949 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006809/1.297, allocations: 3.408 MB / 0.9982 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.297, allocations: 3.938 kB / 0.9982 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.298, allocations: 227.8 kB / 0.9985 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/1.298, allocations: 4 kB / 0.9985 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/1.298, allocations: 19.98 kB / 0.9985 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003189/1.299, allocations: 0.5938 MB / 0.9991 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.299, allocations: 0 / 0.9991 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/1.303, allocations: 1.816 MB / 1.001 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.304, allocations: 469.4 kB / 1.001 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.304, allocations: 16 kB / 1.001 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.305, allocations: 143.8 kB / 1.001 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.306, allocations: 52.53 kB / 1.001 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/1.306, allocations: 27.97 kB / 1.002 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002775/1.308, allocations: 1.968 MB / 1.003 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.308, allocations: 0 / 1.003 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003219/1.312, allocations: 1.271 MB / 1.005 GB, free: 4.438 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.001152/1.313, allocations: 0.4971 MB / 1.005 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006036/1.319, allocations: 2.891 MB / 1.008 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.319, allocations: 0 / 1.008 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.32, allocations: 0.5009 MB / 1.008 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00611/1.326, allocations: 1.462 MB / 1.01 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00904/1.335, allocations: 5.707 MB / 1.015 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.337, allocations: 1.928 MB / 1.017 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003423/1.341, allocations: 0.7402 MB / 1.018 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/1.341, allocations: 211.4 kB / 1.018 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of SimCode: time 9.41e-07/1.341, allocations: 0 / 1.018 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of Templates: time 0.3416/1.683, allocations: 53.24 MB / 1.07 GB, free: 293.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)