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.5444/0.5444, allocations: 94.7 MB / 107.3 MB, free: 5.176 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.001126/0.001126, allocations: 174.5 kB / 130.7 MB, free: 7.543 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.611/1.611, allocations: 170.5 MB / 324.5 MB, free: 3.996 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.001824/0.001824, allocations: 103.3 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.275e-05/5.278e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5782, allocations: 61.52 MB / 0.5054 GB, free: 49.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.382/1.961, allocations: 433.3 MB / 0.9285 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/1.961, allocations: 96.59 kB / 0.9286 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.677/8.638, allocations: 1.507 GB / 2.436 GB, free: 38.96 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.425e-06/8.638, allocations: 0 / 2.436 GB, free: 38.96 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007629/8.639, allocations: 112.3 kB / 2.436 GB, free: 38.95 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.01684/8.656, allocations: 3.615 MB / 2.439 GB, free: 37.38 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/8.656, allocations: 12.22 kB / 2.439 GB, free: 37.38 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/8.661, allocations: 468.6 kB / 2.44 GB, free: 37.16 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/8.675, allocations: 4.11 MB / 2.444 GB, free: 36.55 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006394/8.676, allocations: 277.5 kB / 2.444 GB, free: 36.47 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/8.678, allocations: 269.9 kB / 2.444 GB, free: 36.47 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007515/8.685, allocations: 3.048 MB / 2.447 GB, free: 36.03 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/8.686, allocations: 3.469 kB / 2.447 GB, free: 36.03 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/8.686, allocations: 96.25 kB / 2.447 GB, free: 36.03 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/8.686, allocations: 49.94 kB / 2.447 GB, free: 36.03 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/8.691, allocations: 2.078 MB / 2.449 GB, free: 36 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.03295/8.724, allocations: 11.82 MB / 2.461 GB, free: 31.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009309/8.733, allocations: 2.705 MB / 2.464 GB, free: 31.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/8.735, allocations: 0.9493 MB / 2.465 GB, free: 31.69 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/8.737, allocations: 1.357 MB / 2.466 GB, free: 30.18 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003939/8.741, allocations: 1.524 MB / 2.467 GB, free: 30.08 MB / 0.573 GB Notification: Performance of pre-optimization done (n=164): time 5.941e-06/8.741, allocations: 0 / 2.467 GB, free: 30.08 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.02653/8.767, allocations: 6.776 MB / 2.474 GB, free: 28.63 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/8.768, allocations: 0.5365 MB / 2.475 GB, free: 28 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005091/8.773, allocations: 2.362 MB / 2.477 GB, free: 27.72 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001791/8.774, allocations: 92.36 kB / 2.477 GB, free: 27.69 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002242/8.777, allocations: 1.438 MB / 2.478 GB, free: 27.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001396/8.778, allocations: 0.6331 MB / 2.479 GB, free: 26.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005179/8.779, allocations: 62.88 kB / 2.479 GB, free: 26.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002706/8.779, allocations: 423.3 kB / 2.479 GB, free: 26.55 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/8.783, allocations: 2.146 MB / 2.482 GB, free: 26.54 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004577/8.787, allocations: 2.733 MB / 2.484 GB, free: 25.95 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/8.792, allocations: 2.796 MB / 2.487 GB, free: 25.67 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/8.792, allocations: 2.938 kB / 2.487 GB, free: 25.67 MB / 0.573 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01902/8.811, allocations: 6.501 MB / 2.493 GB, free: 24.74 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002672/8.814, allocations: 4.08 MB / 2.497 GB, free: 20.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/8.814, allocations: 16.3 kB / 2.497 GB, free: 20.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/8.818, allocations: 1.144 MB / 2.498 GB, free: 20.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/8.822, allocations: 0.6118 MB / 2.499 GB, free: 20.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008803/8.831, allocations: 10.11 MB / 2.509 GB, free: 27.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00648/8.838, allocations: 380.7 kB / 2.509 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/8.84, allocations: 318.7 kB / 2.51 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/8.84, allocations: 3.938 kB / 2.51 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02157/8.861, allocations: 8.631 MB / 2.518 GB, free: 27.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.915e-05/8.862, allocations: 19.19 kB / 2.518 GB, free: 27.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/8.868, allocations: 2.961 MB / 2.521 GB, free: 27.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/8.871, allocations: 493.3 kB / 2.521 GB, free: 27.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03234/8.903, allocations: 18.86 MB / 2.54 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006846/8.91, allocations: 359.8 kB / 2.54 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/8.912, allocations: 290.8 kB / 2.54 GB, free: 18.16 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.002521/8.915, allocations: 274.8 kB / 2.541 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/8.917, allocations: 319.4 kB / 2.541 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009004/8.926, allocations: 3.387 MB / 2.544 GB, free: 17 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/8.926, allocations: 19.84 kB / 2.544 GB, free: 17 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/8.926, allocations: 7.375 kB / 2.544 GB, free: 17 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/8.926, allocations: 13.17 kB / 2.544 GB, free: 17 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/8.94, allocations: 5.902 MB / 2.55 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/8.94, allocations: 0 / 2.55 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/8.942, allocations: 0.4917 MB / 2.551 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/8.944, allocations: 0.96 MB / 2.551 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/8.944, allocations: 82.56 kB / 2.552 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006736/8.951, allocations: 9.906 MB / 2.561 GB, free: 20.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/8.951, allocations: 7.453 kB / 2.561 GB, free: 20.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/8.959, allocations: 4.21 MB / 2.565 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002684/8.961, allocations: 0.6577 MB / 2.566 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/8.963, allocations: 50.47 kB / 2.566 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/8.966, allocations: 168.4 kB / 2.566 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/8.966, allocations: 144.9 kB / 2.566 GB, free: 17.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/8.967, allocations: 93.16 kB / 2.566 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003483/8.97, allocations: 1.743 MB / 2.568 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/8.97, allocations: 3.188 kB / 2.568 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01331/8.983, allocations: 2.3 MB / 2.57 GB, free: 15 MB / 0.6042 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.004416/8.988, allocations: 1.888 MB / 2.572 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.6009/9.589, allocations: 27.63 MB / 2.599 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/9.589, allocations: 4.203 kB / 2.599 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003801/9.593, allocations: 1.64 MB / 2.601 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009226/9.602, allocations: 1.449 MB / 2.602 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/9.613, allocations: 5.049 MB / 2.607 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/9.615, allocations: 2.103 MB / 2.609 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004935/9.62, allocations: 0.8905 MB / 2.61 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/9.621, allocations: 208 kB / 2.61 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.503e-06/9.621, allocations: 0 / 2.61 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.2124/9.833, allocations: 111.2 MB / 2.719 GB, free: 57.81 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)