Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.553/0.553, allocations: 94.77 MB / 102.3 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00114/0.00114, allocations: 175.8 kB / 125.5 MB, free: 11.9 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.642/1.642, allocations: 170.6 MB / 319.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001698/0.001698, allocations: 110.6 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.442e-05, allocations: 4 kB / 449.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1836, allocations: 61.52 MB / 0.4987 GB, free: 4.148 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.793/1.977, allocations: 432.6 MB / 0.9212 GB, free: 151 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/1.977, allocations: 98.05 kB / 0.9213 GB, free: 151 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.616/8.593, allocations: 1.499 GB / 2.42 GB, free: 43.42 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.966e-06/8.593, allocations: 2.188 kB / 2.42 GB, free: 43.42 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0009282/8.594, allocations: 104.3 kB / 2.421 GB, free: 43.4 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01847/8.612, allocations: 3.629 MB / 2.424 GB, free: 41.88 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/8.612, allocations: 10 kB / 2.424 GB, free: 41.88 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/8.617, allocations: 468.1 kB / 2.425 GB, free: 41.66 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/8.632, allocations: 4.103 MB / 2.429 GB, free: 41.05 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/8.632, allocations: 176.3 kB / 2.429 GB, free: 40.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/8.634, allocations: 174.7 kB / 2.429 GB, free: 40.98 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006466/8.64, allocations: 2.723 MB / 2.432 GB, free: 40.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/8.646, allocations: 2.701 MB / 2.434 GB, free: 40.55 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/8.646, allocations: 0.9375 kB / 2.434 GB, free: 40.55 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/8.646, allocations: 3.969 kB / 2.434 GB, free: 40.55 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/8.646, allocations: 51.03 kB / 2.434 GB, free: 40.55 MB / 0.573 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.0241/8.67, allocations: 11.39 MB / 2.445 GB, free: 36.39 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/8.678, allocations: 3.414 MB / 2.449 GB, free: 36.36 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/8.68, allocations: 1.311 MB / 2.45 GB, free: 36.35 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/8.681, allocations: 1.358 MB / 2.451 GB, free: 34.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00202/8.683, allocations: 1.44 MB / 2.453 GB, free: 34.73 MB / 0.573 GB Notification: Performance of pre-optimization done (n=164): time 3.587e-06/8.683, allocations: 6.719 kB / 2.453 GB, free: 34.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.02626/8.709, allocations: 8.585 MB / 2.461 GB, free: 33.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002177/8.709, allocations: 0.5268 MB / 2.462 GB, free: 32.68 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/8.713, allocations: 2.07 MB / 2.464 GB, free: 32.42 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001312/8.715, allocations: 50.48 kB / 2.464 GB, free: 32.39 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/8.716, allocations: 1.458 MB / 2.465 GB, free: 31.92 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/8.717, allocations: 0.6092 MB / 2.466 GB, free: 31.51 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/8.717, allocations: 23.59 kB / 2.466 GB, free: 31.51 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001898/8.718, allocations: 418.9 kB / 2.466 GB, free: 31.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/8.721, allocations: 2.524 MB / 2.469 GB, free: 31.19 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/8.725, allocations: 3.092 MB / 2.472 GB, free: 30.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006686/8.732, allocations: 3.117 MB / 2.475 GB, free: 30.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/8.732, allocations: 5.141 kB / 2.475 GB, free: 30.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01377/8.746, allocations: 7.478 MB / 2.482 GB, free: 29.86 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/8.747, allocations: 4.047 MB / 2.486 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/8.747, allocations: 17 kB / 2.486 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/8.75, allocations: 2.385 MB / 2.488 GB, free: 25.92 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/8.753, allocations: 0.607 MB / 2.489 GB, free: 25.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008673/8.762, allocations: 11.68 MB / 2.5 GB, free: 17.19 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005865/8.768, allocations: 334.3 kB / 2.501 GB, free: 17.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/8.77, allocations: 320.5 kB / 2.501 GB, free: 17.17 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/8.77, allocations: 3.375 kB / 2.501 GB, free: 17.17 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01602/8.786, allocations: 7.911 MB / 2.509 GB, free: 16.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.576e-05/8.786, allocations: 22.05 kB / 2.509 GB, free: 16.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006021/8.792, allocations: 2.926 MB / 2.512 GB, free: 16.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/8.794, allocations: 490.1 kB / 2.512 GB, free: 16.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/8.824, allocations: 18.1 MB / 2.53 GB, free: 24.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005946/8.83, allocations: 318.1 kB / 2.53 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/8.832, allocations: 294.3 kB / 2.53 GB, free: 24.13 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan1.curve,fan1.haveMinimumDecrease,fan1.haveDPMax,fan1.haveVMax,fan4.curve,fan4.haveMinimumDecrease,fan4.haveDPMax,fan4.haveVMax) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 7 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002474/8.834, allocations: 189.2 kB / 2.53 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/8.836, allocations: 308.3 kB / 2.531 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009974/8.846, allocations: 3.459 MB / 2.534 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/8.846, allocations: 22.47 kB / 2.534 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/8.846, allocations: 4.766 kB / 2.534 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/8.846, allocations: 7.688 kB / 2.534 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/8.861, allocations: 5.715 MB / 2.54 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/8.861, allocations: 0 / 2.54 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/8.863, allocations: 499.1 kB / 2.54 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/8.864, allocations: 0.7642 MB / 2.541 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/8.865, allocations: 47.94 kB / 2.541 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007726/8.872, allocations: 9.875 MB / 2.551 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/8.872, allocations: 0 / 2.551 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/8.883, allocations: 4.282 MB / 2.555 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/8.886, allocations: 0.6351 MB / 2.555 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001567/8.887, allocations: 15.31 kB / 2.555 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/8.891, allocations: 131.6 kB / 2.556 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/8.891, allocations: 141.3 kB / 2.556 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002746/8.892, allocations: 92.62 kB / 2.556 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003248/8.895, allocations: 1.482 MB / 2.557 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.21e-07/8.895, allocations: 3.844 kB / 2.557 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01617/8.911, allocations: 2.199 MB / 2.559 GB, free: 10.55 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (fan1.vol.dynBal.medium.p,fan1.vol.dynBal.medium.T,fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.medium.p,fan3.vol.dynBal.medium.T,fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.medium.p,fan2.vol.dynBal.medium.T,fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.medium.p,fan4.vol.dynBal.medium.T,fan4.filter.x[1],fan4.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00601/8.917, allocations: 1.893 MB / 2.561 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03953/8.957, allocations: 28.08 MB / 2.589 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-05/8.957, allocations: 10.98 kB / 2.589 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.5807/9.537, allocations: 1.563 MB / 2.59 GB, free: 71.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/9.548, allocations: 1.304 MB / 2.591 GB, free: 71.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/9.564, allocations: 4.928 MB / 2.596 GB, free: 70.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/9.567, allocations: 2.105 MB / 2.598 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.005723/9.573, allocations: 0.8537 MB / 2.599 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/9.573, allocations: 201.6 kB / 2.599 GB, free: 69.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.403e-06/9.573, allocations: 0 / 2.599 GB, free: 69.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.2222/9.796, allocations: 94.81 MB / 2.692 GB, free: 62.47 MB / 0.6042 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe 2>&1)