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.698/1.698, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001071/0.001071, allocations: 177.1 kB / 371.9 MB, free: 10.3 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.743/1.743, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000938/0.0009379, allocations: 94.94 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 12.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7862/1.024, allocations: 262.4 MB / 1.236 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03162/1.056, allocations: 21.07 MB / 1.256 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/1.059, allocations: 71.5 kB / 1.256 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005936/1.065, allocations: 1.303 MB / 1.258 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01508/1.081, allocations: 3.784 MB / 1.261 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/1.091, allocations: 3.19 MB / 1.264 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008287/1.1, allocations: 3.416 MB / 1.268 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002947/1.103, allocations: 1.61 MB / 1.269 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00575/1.108, allocations: 2.235 MB / 1.271 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/1.111, allocations: 1.132 MB / 1.273 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003313/1.111, allocations: 92 kB / 1.273 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/1.116, allocations: 1.853 MB / 1.274 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008101/1.117, allocations: 0.6815 MB / 1.275 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0008569/1.117, allocations: 0.5083 MB / 1.276 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004454/1.122, allocations: 3.117 MB / 1.279 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/1.122, allocations: 7.875 kB / 1.279 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.743e-06/1.122, allocations: 0 / 1.279 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.868e-05/1.122, allocations: 0 / 1.279 GB, free: 5.812 MB / 0.8073 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.004854/1.127, allocations: 2.504 MB / 1.281 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.127, allocations: 16.03 kB / 1.281 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/1.132, allocations: 0.871 MB / 1.282 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/1.136, allocations: 1.793 MB / 1.284 GB, free: 500 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/1.137, allocations: 190.5 kB / 1.284 GB, free: 308 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/1.137, allocations: 147.9 kB / 1.284 GB, free: 160 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/1.14, allocations: 1.678 MB / 1.286 GB, free: 14.42 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/1.14, allocations: 0 / 1.286 GB, free: 14.42 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/1.141, allocations: 63.98 kB / 1.286 GB, free: 14.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/1.141, allocations: 50.59 kB / 1.286 GB, free: 14.31 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/1.144, allocations: 1.482 MB / 1.287 GB, free: 12.82 MB / 0.823 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.01174/1.156, allocations: 7.791 MB / 1.295 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/1.158, allocations: 1.125 MB / 1.296 GB, free: 3.258 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.832e-05/1.158, allocations: 20.62 kB / 1.296 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/1.158, allocations: 43.22 kB / 1.296 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/1.16, allocations: 199.1 kB / 1.296 GB, free: 2.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=77): time 4.649e-06/1.16, allocations: 0 / 1.296 GB, free: 2.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=77): time 0.004274/1.164, allocations: 1.514 MB / 1.298 GB, free: 1.473 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/1.164, allocations: 56.06 kB / 1.298 GB, free: 1.402 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/1.167, allocations: 1.773 MB / 1.299 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.167, allocations: 45.7 kB / 1.3 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008283/1.168, allocations: 0.9801 MB / 1.3 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/1.168, allocations: 268 kB / 1.301 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/1.168, allocations: 23.98 kB / 1.301 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.168, allocations: 345.9 kB / 1.301 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.169, allocations: 466 kB / 1.302 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/1.171, allocations: 0.8819 MB / 1.302 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/1.172, allocations: 0.565 MB / 1.303 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/1.172, allocations: 4 kB / 1.303 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003613/1.176, allocations: 1.464 MB / 1.304 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00165/1.178, allocations: 3.954 MB / 1.308 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/1.178, allocations: 15.94 kB / 1.308 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/1.178, allocations: 16 kB / 1.308 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.179, allocations: 315.5 kB / 1.309 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004533/1.18, allocations: 0.6055 MB / 1.309 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/1.182, allocations: 177 kB / 1.309 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.182, allocations: 51.98 kB / 1.309 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.182, allocations: 5.406 kB / 1.309 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/1.185, allocations: 1.156 MB / 1.311 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.185, allocations: 8 kB / 1.311 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.185, allocations: 16 kB / 1.311 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.186, allocations: 263.9 kB / 1.311 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/1.186, allocations: 23.92 kB / 1.311 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/1.188, allocations: 163.8 kB / 1.311 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.188, allocations: 48 kB / 1.311 GB, free: 3.273 MB / 0.8386 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 122 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001311/1.189, allocations: 0.5843 MB / 1.312 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/1.19, allocations: 193.6 kB / 1.312 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/1.193, allocations: 1.197 MB / 1.313 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.193, allocations: 8 kB / 1.313 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.193, allocations: 0 / 1.313 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002488/1.196, allocations: 0.9997 MB / 1.314 GB, free: 252 kB / 0.8386 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.007447/1.203, allocations: 2.976 MB / 1.317 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.203, allocations: 0 / 1.317 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.205, allocations: 235.8 kB / 1.317 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/1.205, allocations: 4 kB / 1.317 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/1.205, allocations: 27.97 kB / 1.317 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003625/1.205, allocations: 0.5977 MB / 1.318 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.205, allocations: 0 / 1.318 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/1.21, allocations: 1.877 MB / 1.32 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.211, allocations: 366.5 kB / 1.32 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/1.211, allocations: 20 kB / 1.32 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.213, allocations: 159.7 kB / 1.32 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.213, allocations: 56.53 kB / 1.32 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/1.213, allocations: 31.98 kB / 1.32 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002414/1.215, allocations: 1.2 MB / 1.321 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/1.215, allocations: 0 / 1.321 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003531/1.219, allocations: 0.982 MB / 1.322 GB, free: 7.496 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001095/1.22, allocations: 364.3 kB / 1.323 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004686/1.225, allocations: 1.72 MB / 1.324 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.225, allocations: 0 / 1.324 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/1.226, allocations: 0.5114 MB / 1.325 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/1.232, allocations: 1.017 MB / 1.326 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008149/1.24, allocations: 4.253 MB / 1.33 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/1.242, allocations: 1.605 MB / 1.331 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003149/1.245, allocations: 496.6 kB / 1.332 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000705/1.246, allocations: 163.3 kB / 1.332 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/1.246, allocations: 0 / 1.332 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.0687/1.314, allocations: 37.06 MB / 1.368 GB, free: 8.586 MB / 0.9011 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)