Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 172.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008887/0.0008888, allocations: 95.06 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.065e-05, allocations: 8 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/0.7133, allocations: 115.3 MB / 0.9644 GB, free: 79.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.795/5.508, allocations: 2.113 GB / 3.077 GB, free: 1.004 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/5.509, allocations: 94.25 kB / 3.077 GB, free: 0.957 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.164/11.67, allocations: 1.631 GB / 4.708 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.343e-06/11.67, allocations: 3.969 kB / 4.708 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002564/11.67, allocations: 57.23 kB / 4.708 GB, free: 116.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.006911/11.68, allocations: 2.503 MB / 4.71 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/11.68, allocations: 11.83 kB / 4.71 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/11.69, allocations: 0.8158 MB / 4.711 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006756/11.69, allocations: 2.637 MB / 4.714 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/11.69, allocations: 46.09 kB / 4.714 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/11.69, allocations: 88.19 kB / 4.714 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001982/11.69, allocations: 1.121 MB / 4.715 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/11.7, allocations: 1.334 MB / 4.716 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/11.7, allocations: 0 / 4.716 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/11.7, allocations: 3.625 kB / 4.716 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/11.7, allocations: 49.3 kB / 4.716 GB, free: 114.6 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.009696/11.71, allocations: 7.141 MB / 4.723 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/11.71, allocations: 0.9637 MB / 4.724 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/11.71, allocations: 423.3 kB / 4.725 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/11.71, allocations: 117.6 kB / 4.725 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/11.71, allocations: 41.56 kB / 4.725 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001119/11.71, allocations: 198.6 kB / 4.725 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 3.546e-06/11.71, allocations: 0 / 4.725 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.002424/11.71, allocations: 1.033 MB / 4.726 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/11.71, allocations: 59.56 kB / 4.726 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/11.71, allocations: 1.272 MB / 4.727 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/11.71, allocations: 29.42 kB / 4.727 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/11.71, allocations: 0.978 MB / 4.728 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/11.71, allocations: 262.4 kB / 4.729 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/11.71, allocations: 0 / 4.729 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/11.71, allocations: 347.7 kB / 4.729 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/11.72, allocations: 334.1 kB / 4.729 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/11.72, allocations: 0.7517 MB / 4.73 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009378/11.72, allocations: 498 kB / 4.73 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/11.72, allocations: 7.234 kB / 4.73 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002549/11.72, allocations: 1.293 MB / 4.732 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000856/11.72, allocations: 3.939 MB / 4.736 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/11.72, allocations: 9.406 kB / 4.736 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/11.72, allocations: 106.7 kB / 4.736 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/11.72, allocations: 251.4 kB / 4.736 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/11.72, allocations: 2.251 MB / 4.738 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/11.73, allocations: 113.2 kB / 4.738 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/11.73, allocations: 64.75 kB / 4.738 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/11.73, allocations: 5.188 kB / 4.738 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002141/11.73, allocations: 0.9989 MB / 4.739 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/11.73, allocations: 7.625 kB / 4.739 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/11.73, allocations: 102.9 kB / 4.739 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/11.73, allocations: 237.3 kB / 4.74 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/11.73, allocations: 1.664 MB / 4.741 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/11.73, allocations: 107.8 kB / 4.741 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/11.73, allocations: 48.19 kB / 4.741 GB, free: 101.4 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003511/11.73, allocations: 146.4 kB / 4.742 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/11.73, allocations: 184.2 kB / 4.742 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/11.74, allocations: 1.026 MB / 4.743 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/11.74, allocations: 9.594 kB / 4.743 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/11.74, allocations: 2.156 kB / 4.743 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/11.74, allocations: 0.8654 MB / 4.744 GB, free: 100.9 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.00502/11.74, allocations: 2.67 MB / 4.746 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/11.74, allocations: 2.062 kB / 4.746 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/11.74, allocations: 194.3 kB / 4.746 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/11.74, allocations: 89.8 kB / 4.746 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/11.74, allocations: 17.73 kB / 4.746 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/11.75, allocations: 2.183 MB / 4.749 GB, free: 98.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/11.75, allocations: 3.75 kB / 4.749 GB, free: 98.54 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/11.75, allocations: 1.592 MB / 4.75 GB, free: 98.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/11.75, allocations: 333.9 kB / 4.75 GB, free: 97.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/11.75, allocations: 3.344 kB / 4.75 GB, free: 97.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/11.75, allocations: 121.2 kB / 4.751 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/11.75, allocations: 56.23 kB / 4.751 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/11.75, allocations: 34.19 kB / 4.751 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001418/11.75, allocations: 0.9687 MB / 4.752 GB, free: 97.74 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/11.75, allocations: 3.844 kB / 4.752 GB, free: 97.74 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004614/11.76, allocations: 1.299 MB / 4.753 GB, free: 97.59 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005787/11.76, allocations: 4.375 MB / 4.757 GB, free: 95.83 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002832/11.77, allocations: 1.616 MB / 4.759 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/11.77, allocations: 6.938 kB / 4.759 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006511/11.77, allocations: 493.4 kB / 4.759 GB, free: 95.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/11.77, allocations: 0.8726 MB / 4.76 GB, free: 95.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/11.77, allocations: 2.62 MB / 4.763 GB, free: 94.71 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/11.78, allocations: 1.621 MB / 4.764 GB, free: 93.97 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002877/11.78, allocations: 0.6569 MB / 4.765 GB, free: 93.95 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/11.78, allocations: 120.2 kB / 4.765 GB, free: 93.94 MB / 0.9792 GB Notification: Performance of SimCode: time 2.986e-06/11.78, allocations: 0 / 4.765 GB, free: 93.94 MB / 0.9792 GB Notification: Performance of Templates: time 0.08366/11.86, allocations: 55.43 MB / 4.819 GB, free: 88.21 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)