Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.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.FlowMachineFeedbackControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl") translateModel(Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5677/0.5677, allocations: 95.62 MB / 110.6 MB, free: 9.367 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.001108/0.001108, allocations: 168.2 kB / 134.2 MB, free: 2.262 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.442/1.442, allocations: 170.7 MB / 328.4 MB, free: 12.27 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.001846/0.001846, allocations: 115.3 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 61.54 MB / 0.512 GB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.6/12.75, allocations: 5.333 GB / 5.845 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/12.75, allocations: 99.94 kB / 5.845 GB, free: 75.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.461/15.21, allocations: 0.6148 GB / 6.46 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/15.21, allocations: 0 / 6.46 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001936/15.21, allocations: 39.98 kB / 6.46 GB, free: 52.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.008881/15.22, allocations: 2.173 MB / 6.462 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/15.22, allocations: 11.98 kB / 6.462 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/15.22, allocations: 201.5 kB / 6.463 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005605/15.22, allocations: 1.802 MB / 6.464 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/15.22, allocations: 123.7 kB / 6.464 GB, free: 48.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/15.22, allocations: 112 kB / 6.465 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/15.23, allocations: 1.451 MB / 6.466 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/15.23, allocations: 0 / 6.466 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/15.23, allocations: 47.95 kB / 6.466 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/15.23, allocations: 34 kB / 6.466 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/15.23, allocations: 1.206 MB / 6.467 GB, free: 45.26 MB / 0.5261 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.01228/15.24, allocations: 4.761 MB / 6.472 GB, free: 40.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/15.25, allocations: 1.362 MB / 6.473 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003712/15.25, allocations: 283.9 kB / 6.473 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/15.25, allocations: 0.8327 MB / 6.474 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.438e-06/15.25, allocations: 0 / 6.474 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01146/15.26, allocations: 3.635 MB / 6.478 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/15.26, allocations: 325.1 kB / 6.478 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/15.26, allocations: 1.1 MB / 6.479 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004049/15.26, allocations: 53.7 kB / 6.479 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/15.26, allocations: 0.5953 MB / 6.48 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/15.26, allocations: 272.1 kB / 6.48 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/15.26, allocations: 28 kB / 6.48 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/15.26, allocations: 353.9 kB / 6.48 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/15.27, allocations: 1.068 MB / 6.482 GB, free: 30.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/15.27, allocations: 1.282 MB / 6.483 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/15.27, allocations: 1.358 MB / 6.484 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/15.27, allocations: 0 / 6.484 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004541/15.27, allocations: 2.936 MB / 6.487 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000406/15.27, allocations: 0.9474 MB / 6.488 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/15.27, allocations: 3.938 kB / 6.488 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/15.28, allocations: 0.5667 MB / 6.488 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/15.28, allocations: 235.6 kB / 6.489 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/15.28, allocations: 1.685 MB / 6.49 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/15.28, allocations: 167.9 kB / 6.49 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/15.28, allocations: 151.9 kB / 6.491 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/15.28, allocations: 1.25 kB / 6.491 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00682/15.29, allocations: 4.044 MB / 6.495 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/15.29, allocations: 0 / 6.495 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/15.29, allocations: 1.499 MB / 6.496 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/15.29, allocations: 203.8 kB / 6.496 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/15.31, allocations: 7.769 MB / 6.504 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/15.31, allocations: 159.9 kB / 6.504 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008869/15.31, allocations: 135.9 kB / 6.504 GB, free: 6.438 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan.curve,fan.haveMinimumDecrease,fan.haveDPMax,fan.haveVMax) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001906/15.31, allocations: 449.5 kB / 6.505 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/15.31, allocations: 138.3 kB / 6.505 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/15.32, allocations: 1.305 MB / 6.506 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/15.32, allocations: 8 kB / 6.506 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/15.32, allocations: 0 / 6.506 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/15.32, allocations: 7.984 kB / 6.506 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/15.32, allocations: 2.566 MB / 6.508 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/15.32, allocations: 0 / 6.508 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/15.32, allocations: 191.8 kB / 6.509 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/15.33, allocations: 464.4 kB / 6.509 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/15.33, allocations: 27.98 kB / 6.509 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/15.33, allocations: 1.446 MB / 6.511 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/15.33, allocations: 3.984 kB / 6.511 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/15.33, allocations: 1.858 MB / 6.512 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/15.33, allocations: 343.3 kB / 6.513 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005468/15.33, allocations: 23.94 kB / 6.513 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/15.33, allocations: 87.77 kB / 6.513 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/15.33, allocations: 60.91 kB / 6.513 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/15.33, allocations: 39.98 kB / 6.513 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002251/15.34, allocations: 0.8333 MB / 6.514 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.072e-06/15.34, allocations: 0 / 6.514 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007765/15.34, allocations: 1.339 MB / 6.515 GB, free: 11.11 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (fan.vol.dynBal.medium.p,fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.medium.T,fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006641/15.35, allocations: 1.788 MB / 6.517 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3861/15.74, allocations: 13 MB / 6.529 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/15.74, allocations: 1 kB / 6.529 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/15.74, allocations: 0.5513 MB / 6.53 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/15.74, allocations: 0.5847 MB / 6.531 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/15.75, allocations: 3.164 MB / 6.534 GB, free: 82.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/15.75, allocations: 1.275 MB / 6.535 GB, free: 81.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002265/15.75, allocations: 322.6 kB / 6.535 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/15.76, allocations: 105.9 kB / 6.535 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.472e-06/15.76, allocations: 0 / 6.535 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1112/15.87, allocations: 59.79 MB / 6.594 GB, free: 78.47 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.pipe 2>&1)