Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.00129/0.00129, allocations: 188.5 kB / 376.9 MB, free: 1.836 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.583/1.583, allocations: 205.1 MB / 0.6354 GB, free: 9.816 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.000956/0.0009558, allocations: 91.12 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 59.91 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2736, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8782/1.152, allocations: 321.7 MB / 1.296 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03909/1.191, allocations: 23.49 MB / 1.319 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005373/1.196, allocations: 83.44 kB / 1.319 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.005131/1.202, allocations: 1.318 MB / 1.321 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0135/1.215, allocations: 3.93 MB / 1.325 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.006964/1.222, allocations: 2.082 MB / 1.327 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01211/1.234, allocations: 8.016 MB / 1.334 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004618/1.239, allocations: 1.854 MB / 1.336 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008908/1.248, allocations: 2.887 MB / 1.339 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004886/1.253, allocations: 1.801 MB / 1.341 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001012/1.254, allocations: 112 kB / 1.341 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/1.266, allocations: 4.057 MB / 1.345 GB, free: 200 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001964/1.268, allocations: 0.7787 MB / 1.346 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003469/1.272, allocations: 1.228 MB / 1.347 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/1.283, allocations: 4.826 MB / 1.352 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.284, allocations: 0 / 1.352 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.847e-06/1.284, allocations: 4 kB / 1.352 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001879/1.284, allocations: 3.938 kB / 1.352 GB, free: 9.332 MB / 0.9167 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.009088/1.293, allocations: 2.976 MB / 1.354 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.293, allocations: 11.97 kB / 1.354 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/1.299, allocations: 0.8358 MB / 1.355 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/1.304, allocations: 1.83 MB / 1.357 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/1.304, allocations: 166.6 kB / 1.357 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/1.305, allocations: 155.9 kB / 1.357 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/1.31, allocations: 1.663 MB / 1.359 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/1.31, allocations: 0 / 1.359 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/1.31, allocations: 60 kB / 1.359 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/1.31, allocations: 50.59 kB / 1.359 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/1.314, allocations: 1.4 MB / 1.36 GB, free: 15.98 MB / 0.9323 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.01363/1.328, allocations: 7.684 MB / 1.368 GB, free: 7.711 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/1.33, allocations: 1.065 MB / 1.369 GB, free: 6.602 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/1.332, allocations: 0.5115 MB / 1.369 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/1.332, allocations: 109.7 kB / 1.37 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/1.332, allocations: 43.22 kB / 1.37 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001657/1.334, allocations: 203 kB / 1.37 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 8.376e-06/1.334, allocations: 0 / 1.37 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.004259/1.338, allocations: 1.397 MB / 1.371 GB, free: 4.309 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.338, allocations: 64 kB / 1.371 GB, free: 4.234 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/1.341, allocations: 1.781 MB / 1.373 GB, free: 2.418 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/1.341, allocations: 45.7 kB / 1.373 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009752/1.342, allocations: 0.9761 MB / 1.374 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/1.343, allocations: 260.2 kB / 1.374 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004174/1.343, allocations: 226.4 kB / 1.374 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.343, allocations: 345.9 kB / 1.375 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.344, allocations: 468.6 kB / 1.375 GB, free: 92 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5341/1.879, allocations: 0.8566 MB / 1.376 GB, free: 284.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/1.881, allocations: 1.244 MB / 1.377 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/1.881, allocations: 7.25 kB / 1.377 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003337/1.884, allocations: 1.445 MB / 1.379 GB, free: 284.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.884, allocations: 8.219 kB / 1.379 GB, free: 284.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.884, allocations: 11.03 kB / 1.379 GB, free: 284.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.884, allocations: 16.97 kB / 1.379 GB, free: 284.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.886, allocations: 280.8 kB / 1.379 GB, free: 284.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002885/1.886, allocations: 0.6024 MB / 1.38 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.888, allocations: 149.5 kB / 1.38 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/1.888, allocations: 59.98 kB / 1.38 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001606/1.889, allocations: 0.8282 MB / 1.381 GB, free: 283.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/1.891, allocations: 0.8102 MB / 1.381 GB, free: 283.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001902/1.892, allocations: 1.154 MB / 1.383 GB, free: 283 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.643e-06/1.892, allocations: 2.844 kB / 1.383 GB, free: 283 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002682/1.895, allocations: 1.336 MB / 1.384 GB, free: 283 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.895, allocations: 8.969 kB / 1.384 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.895, allocations: 9.5 kB / 1.384 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.895, allocations: 16.05 kB / 1.384 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.896, allocations: 259.8 kB / 1.384 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/1.896, allocations: 25.2 kB / 1.384 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.898, allocations: 139.1 kB / 1.384 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.576e-05/1.898, allocations: 51.27 kB / 1.384 GB, free: 283 MB / 0.9323 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 (124): * Single equations (assignments): 121 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0003378/1.898, allocations: 250.6 kB / 1.385 GB, free: 282.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/1.899, allocations: 190.4 kB / 1.385 GB, free: 282.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/1.902, allocations: 1.103 MB / 1.386 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/1.902, allocations: 12.47 kB / 1.386 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.902, allocations: 0 / 1.386 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002184/1.904, allocations: 0.9278 MB / 1.387 GB, free: 282.5 MB / 0.9323 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.007105/1.911, allocations: 3.025 MB / 1.39 GB, free: 281.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.911, allocations: 1.688 kB / 1.39 GB, free: 281.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.912, allocations: 212.5 kB / 1.39 GB, free: 281.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.912, allocations: 7.734 kB / 1.39 GB, free: 281.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/1.912, allocations: 22.45 kB / 1.39 GB, free: 281.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002254/1.912, allocations: 0.5931 MB / 1.39 GB, free: 281.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.912, allocations: 4.031 kB / 1.39 GB, free: 281.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/1.933, allocations: 8.249 MB / 1.399 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006859/1.934, allocations: 356.9 kB / 1.399 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/1.934, allocations: 15.48 kB / 1.399 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.935, allocations: 140 kB / 1.399 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.935, allocations: 43.95 kB / 1.399 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/1.935, allocations: 38.09 kB / 1.399 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001769/1.937, allocations: 1.212 MB / 1.4 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/1.937, allocations: 0 / 1.4 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004844/1.942, allocations: 1.506 MB / 1.402 GB, free: 276 MB / 0.9323 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 (78): * Single equations (assignments): 77 * 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.001266/1.943, allocations: 440.1 kB / 1.402 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004151/1.947, allocations: 1.652 MB / 1.404 GB, free: 275.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.947, allocations: 0 / 1.404 GB, free: 275.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.949, allocations: 485.6 kB / 1.404 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/1.953, allocations: 1.006 MB / 1.405 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/1.96, allocations: 4.719 MB / 1.41 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.961, allocations: 1.577 MB / 1.411 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002679/1.963, allocations: 0.4933 MB / 1.412 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/1.964, allocations: 164.5 kB / 1.412 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.563e-06/1.964, allocations: 7.844 kB / 1.412 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.07203/2.036, allocations: 41.71 MB / 1.453 GB, free: 268.2 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)