Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009785/0.0009785, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007461/0.007461, allocations: 168.9 kB / 16.26 MB, free: 6.648 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: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 274.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004216, allocations: 14.41 kB / 0.5986 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6903/0.8616, allocations: 318.6 MB / 0.9962 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03028/0.892, allocations: 22.28 MB / 1.018 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00399/0.896, allocations: 83.5 kB / 1.018 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01401/0.9101, allocations: 7.448 MB / 1.025 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.9219, allocations: 3.984 MB / 1.029 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006343/0.9283, allocations: 2.201 MB / 1.031 GB, free: 12.92 MB / 0.7481 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.4678/1.396, allocations: 14.37 MB / 1.045 GB, free: 81.25 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004256/1.4, allocations: 1.856 MB / 1.047 GB, free: 81.1 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008176/1.409, allocations: 2.761 MB / 1.05 GB, free: 81.1 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/1.413, allocations: 1.85 MB / 1.052 GB, free: 81.1 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007812/1.414, allocations: 96.59 kB / 1.052 GB, free: 81.1 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008644/1.422, allocations: 4.244 MB / 1.056 GB, free: 81.1 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001933/1.424, allocations: 1.018 MB / 1.057 GB, free: 81.1 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002749/1.427, allocations: 1.548 MB / 1.058 GB, free: 81.07 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009699/1.437, allocations: 5.777 MB / 1.064 GB, free: 80.7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.437, allocations: 1 kB / 1.064 GB, free: 80.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.593e-06/1.437, allocations: 0 / 1.064 GB, free: 80.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001092/1.437, allocations: 0 / 1.064 GB, free: 80.7 MB / 0.7481 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.005823/1.443, allocations: 3.234 MB / 1.067 GB, free: 78.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.443, allocations: 8.719 kB / 1.067 GB, free: 78.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00684/1.45, allocations: 1.131 MB / 1.068 GB, free: 78.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006328/1.456, allocations: 3.889 MB / 1.072 GB, free: 78.03 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/1.456, allocations: 184.3 kB / 1.072 GB, free: 78.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/1.457, allocations: 156.7 kB / 1.072 GB, free: 78.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/1.46, allocations: 1.745 MB / 1.074 GB, free: 77.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/1.46, allocations: 0 / 1.074 GB, free: 77.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.46, allocations: 55.44 kB / 1.074 GB, free: 77.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/1.46, allocations: 55.17 kB / 1.074 GB, free: 77.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/1.464, allocations: 1.532 MB / 1.076 GB, free: 77.77 MB / 0.7481 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.01068/1.474, allocations: 8.548 MB / 1.084 GB, free: 73.6 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/1.477, allocations: 1.11 MB / 1.085 GB, free: 73.37 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/1.478, allocations: 0.5525 MB / 1.086 GB, free: 73.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.478, allocations: 107.2 kB / 1.086 GB, free: 73.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.478, allocations: 44.94 kB / 1.086 GB, free: 73.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001301/1.479, allocations: 225.5 kB / 1.086 GB, free: 73.13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 4.098e-06/1.479, allocations: 3.984 kB / 1.086 GB, free: 73.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.003969/1.483, allocations: 1.57 MB / 1.088 GB, free: 72.92 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/1.483, allocations: 69.47 kB / 1.088 GB, free: 72.85 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/1.488, allocations: 2.944 MB / 1.091 GB, free: 72.56 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/1.488, allocations: 47.2 kB / 1.091 GB, free: 72.53 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008569/1.489, allocations: 1.258 MB / 1.092 GB, free: 72.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/1.489, allocations: 268.6 kB / 1.092 GB, free: 72.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/1.489, allocations: 221.5 kB / 1.092 GB, free: 72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.738e-05/1.489, allocations: 301.1 kB / 1.093 GB, free: 71.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/1.491, allocations: 0.845 MB / 1.093 GB, free: 71.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/1.492, allocations: 1.356 MB / 1.095 GB, free: 71.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/1.495, allocations: 1.987 MB / 1.097 GB, free: 70.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.496, allocations: 7.375 kB / 1.097 GB, free: 70.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004384/1.5, allocations: 2.472 MB / 1.099 GB, free: 70.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/1.5, allocations: 445.3 kB / 1.1 GB, free: 69.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.5, allocations: 12.62 kB / 1.1 GB, free: 69.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/1.5, allocations: 18.22 kB / 1.1 GB, free: 69.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.502, allocations: 407.2 kB / 1.1 GB, free: 69.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002434/1.502, allocations: 0.6057 MB / 1.101 GB, free: 69.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.504, allocations: 213.5 kB / 1.101 GB, free: 69.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/1.504, allocations: 75.11 kB / 1.101 GB, free: 69.28 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/1.504, allocations: 4.812 kB / 1.101 GB, free: 69.28 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003325/1.508, allocations: 2.148 MB / 1.103 GB, free: 69.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.508, allocations: 16.69 kB / 1.103 GB, free: 69.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.508, allocations: 23.06 kB / 1.103 GB, free: 69.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.509, allocations: 377.2 kB / 1.103 GB, free: 69.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.509, allocations: 25.72 kB / 1.103 GB, free: 69.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.511, allocations: 204.3 kB / 1.104 GB, free: 69.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.511, allocations: 76.16 kB / 1.104 GB, free: 69.18 MB / 0.7481 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.001395/1.513, allocations: 0.8072 MB / 1.104 GB, free: 68.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/1.513, allocations: 279.6 kB / 1.105 GB, free: 68.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/1.516, allocations: 1.201 MB / 1.106 GB, free: 68.72 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.516, allocations: 8.906 kB / 1.106 GB, free: 68.72 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.516, allocations: 0 / 1.106 GB, free: 68.72 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00217/1.518, allocations: 1.001 MB / 1.107 GB, free: 68.44 MB / 0.7481 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.006146/1.524, allocations: 3.551 MB / 1.11 GB, free: 67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.524, allocations: 7.688 kB / 1.11 GB, free: 66.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.526, allocations: 225.9 kB / 1.111 GB, free: 66.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/1.526, allocations: 5.75 kB / 1.111 GB, free: 66.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/1.526, allocations: 26.3 kB / 1.111 GB, free: 66.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001707/1.526, allocations: 0.5938 MB / 1.111 GB, free: 66.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.526, allocations: 6.062 kB / 1.111 GB, free: 66.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/1.529, allocations: 1.833 MB / 1.113 GB, free: 65.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/1.53, allocations: 461.8 kB / 1.113 GB, free: 65.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/1.531, allocations: 17.55 kB / 1.113 GB, free: 65.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.532, allocations: 164.8 kB / 1.114 GB, free: 65.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/1.532, allocations: 44.41 kB / 1.114 GB, free: 65.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/1.532, allocations: 36.81 kB / 1.114 GB, free: 65.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002374/1.535, allocations: 1.966 MB / 1.116 GB, free: 64.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.535, allocations: 0 / 1.116 GB, free: 64.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002854/1.537, allocations: 1.269 MB / 1.117 GB, free: 64.76 MB / 0.7481 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.0009399/1.538, allocations: 0.5101 MB / 1.117 GB, free: 64.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004814/1.543, allocations: 2.796 MB / 1.12 GB, free: 64.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.543, allocations: 3.469 kB / 1.12 GB, free: 64.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/1.544, allocations: 0.5069 MB / 1.121 GB, free: 64.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/1.55, allocations: 1.361 MB / 1.122 GB, free: 63.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/1.557, allocations: 5.759 MB / 1.127 GB, free: 60.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.559, allocations: 1.931 MB / 1.129 GB, free: 59.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002799/1.561, allocations: 0.7463 MB / 1.13 GB, free: 58.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/1.562, allocations: 211 kB / 1.13 GB, free: 58.82 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/1.562, allocations: 0 / 1.13 GB, free: 58.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.07018/1.632, allocations: 51.66 MB / 1.181 GB, free: 9.273 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)