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.726/1.726, allocations: 288.4 MB / 303.7 MB, free: 8.055 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.0009696/0.0009696, allocations: 179.1 kB / 372.3 MB, free: 10.11 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.578/1.578, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007867/0.0007868, allocations: 94.31 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 12.5 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2402, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8692/1.109, allocations: 296 MB / 1.269 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0324/1.142, allocations: 21.49 MB / 1.29 GB, free: 12.87 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004647/1.147, allocations: 79.44 kB / 1.29 GB, free: 12.79 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004305/1.151, allocations: 1.142 MB / 1.291 GB, free: 11.64 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/1.162, allocations: 3.609 MB / 1.295 GB, free: 8.02 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007293/1.17, allocations: 1.805 MB / 1.297 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0121/1.182, allocations: 6.817 MB / 1.303 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003716/1.186, allocations: 1.789 MB / 1.305 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007576/1.193, allocations: 2.72 MB / 1.308 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/1.197, allocations: 1.681 MB / 1.309 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0005246/1.198, allocations: 96 kB / 1.309 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008984/1.207, allocations: 3.963 MB / 1.313 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/1.208, allocations: 0.7475 MB / 1.314 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002247/1.211, allocations: 1.156 MB / 1.315 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006083/1.217, allocations: 3.507 MB / 1.319 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/1.217, allocations: 3.984 kB / 1.319 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.705e-06/1.217, allocations: 0 / 1.319 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.065e-05/1.217, allocations: 0 / 1.319 GB, free: 15.64 MB / 0.8542 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.005429/1.222, allocations: 2.536 MB / 1.321 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.222, allocations: 12.03 kB / 1.321 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/1.228, allocations: 0.8749 MB / 1.322 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/1.231, allocations: 1.815 MB / 1.324 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/1.232, allocations: 182.6 kB / 1.324 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/1.232, allocations: 147.9 kB / 1.324 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/1.235, allocations: 1.713 MB / 1.326 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/1.236, allocations: 0 / 1.326 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/1.236, allocations: 67.86 kB / 1.326 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/1.236, allocations: 46.61 kB / 1.326 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/1.239, allocations: 1.497 MB / 1.327 GB, free: 6.555 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.01154/1.251, allocations: 7.832 MB / 1.335 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/1.253, allocations: 1.172 MB / 1.336 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/1.254, allocations: 0.5532 MB / 1.337 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.255, allocations: 113.7 kB / 1.337 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.255, allocations: 43.22 kB / 1.337 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/1.256, allocations: 199.1 kB / 1.337 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=77): time 3.317e-06/1.256, allocations: 3.938 kB / 1.337 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77): time 0.004014/1.26, allocations: 1.538 MB / 1.338 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/1.26, allocations: 60.06 kB / 1.339 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/1.262, allocations: 1.792 MB / 1.34 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/1.262, allocations: 53.69 kB / 1.34 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000805/1.263, allocations: 0.984 MB / 1.341 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/1.263, allocations: 264.1 kB / 1.342 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/1.263, allocations: 20 kB / 1.342 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.264, allocations: 345.9 kB / 1.342 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.265, allocations: 478 kB / 1.342 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/1.266, allocations: 0.8975 MB / 1.343 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/1.269, allocations: 1.288 MB / 1.344 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/1.269, allocations: 4 kB / 1.344 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00329/1.272, allocations: 1.495 MB / 1.346 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002632/1.272, allocations: 383.7 kB / 1.346 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.272, allocations: 8 kB / 1.346 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/1.273, allocations: 16 kB / 1.346 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.274, allocations: 303.5 kB / 1.347 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003837/1.274, allocations: 0.6094 MB / 1.347 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.276, allocations: 173 kB / 1.347 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/1.276, allocations: 55.98 kB / 1.347 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/1.276, allocations: 4 kB / 1.347 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002257/1.279, allocations: 1.176 MB / 1.349 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.279, allocations: 15.97 kB / 1.349 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.279, allocations: 16 kB / 1.349 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/1.28, allocations: 263.6 kB / 1.349 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.28, allocations: 23.86 kB / 1.349 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.282, allocations: 165.1 kB / 1.349 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.61e-05/1.282, allocations: 51.98 kB / 1.349 GB, free: 15 MB / 0.8855 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.001314/1.283, allocations: 0.5826 MB / 1.35 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/1.283, allocations: 193.6 kB / 1.35 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/1.286, allocations: 1.193 MB / 1.351 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/1.286, allocations: 8 kB / 1.351 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.286, allocations: 0 / 1.351 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002453/1.289, allocations: 1.027 MB / 1.352 GB, free: 11.94 MB / 0.8855 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.006496/1.295, allocations: 3.042 MB / 1.355 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.295, allocations: 0 / 1.355 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.296, allocations: 231.9 kB / 1.355 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.296, allocations: 4 kB / 1.355 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/1.297, allocations: 27.98 kB / 1.355 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003382/1.297, allocations: 0.6015 MB / 1.356 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.297, allocations: 4 kB / 1.356 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/1.301, allocations: 1.819 MB / 1.358 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008346/1.302, allocations: 362.6 kB / 1.358 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/1.302, allocations: 19.98 kB / 1.358 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.303, allocations: 159.7 kB / 1.358 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.303, allocations: 56.53 kB / 1.358 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/1.304, allocations: 31.97 kB / 1.358 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001849/1.305, allocations: 1.215 MB / 1.359 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/1.305, allocations: 4 kB / 1.359 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002614/1.308, allocations: 0.9859 MB / 1.36 GB, free: 3.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.0009106/1.309, allocations: 366 kB / 1.361 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004248/1.313, allocations: 1.751 MB / 1.362 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.313, allocations: 0 / 1.362 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.314, allocations: 0.5159 MB / 1.363 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/1.319, allocations: 1.023 MB / 1.364 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/1.326, allocations: 4.265 MB / 1.368 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.327, allocations: 1.57 MB / 1.37 GB, free: 9.633 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002262/1.329, allocations: 488.6 kB / 1.37 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/1.33, allocations: 151.4 kB / 1.37 GB, free: 9.004 MB / 0.9011 GB Notification: Performance of SimCode: time 9.22e-07/1.33, allocations: 0 / 1.37 GB, free: 9.004 MB / 0.9011 GB Notification: Performance of Templates: time 0.06568/1.395, allocations: 38.08 MB / 1.407 GB, free: 3.266 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)