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.66/1.66, allocations: 288.4 MB / 303.4 MB, free: 8.062 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.001195/0.001195, allocations: 172.5 kB / 372 MB, free: 10.26 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.766/1.766, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0009306/0.0009308, allocations: 82.36 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 16.44 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7768/1.009, allocations: 296 MB / 1.269 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03581/1.045, allocations: 21.49 MB / 1.29 GB, free: 13.18 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004902/1.05, allocations: 75.5 kB / 1.29 GB, free: 13.11 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004831/1.054, allocations: 0.9629 MB / 1.291 GB, free: 12.14 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/1.067, allocations: 3.103 MB / 1.294 GB, free: 9.027 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006716/1.073, allocations: 1.768 MB / 1.295 GB, free: 7.277 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009901/1.083, allocations: 6.756 MB / 1.302 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003672/1.087, allocations: 1.564 MB / 1.304 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007627/1.095, allocations: 2.548 MB / 1.306 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003808/1.099, allocations: 1.696 MB / 1.308 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0008558/1.1, allocations: 92 kB / 1.308 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/1.106, allocations: 2.214 MB / 1.31 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001547/1.108, allocations: 0.7397 MB / 1.311 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001508/1.109, allocations: 0.5121 MB / 1.311 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006433/1.116, allocations: 3.324 MB / 1.314 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.116, allocations: 0 / 1.314 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.375e-06/1.116, allocations: 0 / 1.314 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001536/1.116, allocations: 0 / 1.314 GB, free: 3.754 MB / 0.8386 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.007116/1.123, allocations: 2.567 MB / 1.317 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.123, allocations: 8.031 kB / 1.317 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005896/1.129, allocations: 0.8749 MB / 1.318 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/1.134, allocations: 1.741 MB / 1.319 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004601/1.134, allocations: 178.6 kB / 1.32 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004594/1.135, allocations: 155.9 kB / 1.32 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/1.139, allocations: 1.706 MB / 1.321 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/1.139, allocations: 3.938 kB / 1.321 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/1.139, allocations: 56 kB / 1.322 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/1.139, allocations: 50.59 kB / 1.322 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/1.143, allocations: 1.501 MB / 1.323 GB, free: 10.72 MB / 0.8542 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.01298/1.156, allocations: 7.844 MB / 1.331 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/1.159, allocations: 1.161 MB / 1.332 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/1.16, allocations: 0.5611 MB / 1.332 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.16, allocations: 113.7 kB / 1.332 GB, free: 388 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/1.16, allocations: 39.22 kB / 1.333 GB, free: 340 kB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001199/1.162, allocations: 199.1 kB / 1.333 GB, free: 140 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 6.232e-06/1.162, allocations: 0 / 1.333 GB, free: 140 kB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.00441/1.166, allocations: 1.534 MB / 1.334 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.166, allocations: 64.06 kB / 1.334 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/1.169, allocations: 1.796 MB / 1.336 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.169, allocations: 45.7 kB / 1.336 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/1.17, allocations: 0.9723 MB / 1.337 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/1.171, allocations: 280 kB / 1.337 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/1.171, allocations: 16 kB / 1.337 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.171, allocations: 345.9 kB / 1.338 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/1.172, allocations: 485.9 kB / 1.338 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/1.174, allocations: 0.8956 MB / 1.339 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/1.175, allocations: 0.5729 MB / 1.34 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.175, allocations: 4 kB / 1.34 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00345/1.178, allocations: 1.483 MB / 1.341 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/1.179, allocations: 386 kB / 1.341 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.179, allocations: 12 kB / 1.341 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/1.179, allocations: 19.98 kB / 1.341 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.18, allocations: 307.5 kB / 1.342 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000413/1.181, allocations: 0.6171 MB / 1.342 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.183, allocations: 174.3 kB / 1.342 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.183, allocations: 55.92 kB / 1.342 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/1.183, allocations: 4 kB / 1.342 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002369/1.185, allocations: 1.175 MB / 1.344 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/1.185, allocations: 8 kB / 1.344 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.185, allocations: 16 kB / 1.344 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/1.186, allocations: 263.8 kB / 1.344 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/1.186, allocations: 23.92 kB / 1.344 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.188, allocations: 157 kB / 1.344 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/1.188, allocations: 47.98 kB / 1.344 GB, free: 4.004 MB / 0.8698 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.00119/1.189, allocations: 0.5864 MB / 1.345 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/1.19, allocations: 189.6 kB / 1.345 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/1.193, allocations: 1.208 MB / 1.346 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.193, allocations: 8 kB / 1.346 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.193, allocations: 0 / 1.346 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002396/1.196, allocations: 1.023 MB / 1.347 GB, free: 0.9414 MB / 0.8698 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.00709/1.203, allocations: 3.038 MB / 1.35 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.203, allocations: 4 kB / 1.35 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.204, allocations: 231.9 kB / 1.35 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/1.204, allocations: 4 kB / 1.35 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/1.204, allocations: 27.98 kB / 1.35 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/1.204, allocations: 0.5938 MB / 1.351 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.204, allocations: 0 / 1.351 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/1.209, allocations: 1.827 MB / 1.353 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.21, allocations: 362.5 kB / 1.353 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/1.21, allocations: 12 kB / 1.353 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.212, allocations: 171.6 kB / 1.353 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.212, allocations: 52.48 kB / 1.353 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/1.212, allocations: 35.97 kB / 1.353 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002253/1.214, allocations: 1.223 MB / 1.354 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/1.214, allocations: 0 / 1.354 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003309/1.218, allocations: 0.982 MB / 1.355 GB, free: 8.188 MB / 0.8855 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.0009804/1.219, allocations: 360.5 kB / 1.356 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004548/1.223, allocations: 1.738 MB / 1.357 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.223, allocations: 4 kB / 1.357 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.225, allocations: 0.5126 MB / 1.358 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/1.23, allocations: 1.059 MB / 1.359 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/1.237, allocations: 4.273 MB / 1.363 GB, free: 220 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/1.239, allocations: 1.562 MB / 1.365 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002635/1.241, allocations: 484.6 kB / 1.365 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/1.242, allocations: 159.4 kB / 1.365 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of SimCode: time 1.152e-06/1.242, allocations: 0 / 1.365 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of Templates: time 0.06451/1.306, allocations: 37.44 MB / 1.402 GB, free: 8.906 MB / 0.9323 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)