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.6661/0.6661, allocations: 94.76 MB / 102.2 MB, free: 14.09 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.001174/0.001175, allocations: 175.1 kB / 125.6 MB, free: 7.922 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.792/1.792, allocations: 170.6 MB / 319.4 MB, free: 1.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001853/0.001853, allocations: 112.5 kB / 381.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.079e-05, allocations: 0 / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1929, allocations: 61.53 MB / 0.4987 GB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.57/15.77, allocations: 5.333 GB / 5.832 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/15.77, allocations: 91.27 kB / 5.832 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.701/18.47, allocations: 0.6067 GB / 6.438 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.876e-06/18.47, allocations: 0 / 6.438 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003369/18.47, allocations: 38.7 kB / 6.439 GB, free: 68.64 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.008219/18.48, allocations: 1.942 MB / 6.44 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/18.48, allocations: 7.281 kB / 6.44 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/18.48, allocations: 197 kB / 6.441 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006701/18.48, allocations: 1.791 MB / 6.442 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/18.49, allocations: 79.69 kB / 6.442 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/18.49, allocations: 76 kB / 6.442 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003942/18.49, allocations: 1.445 MB / 6.444 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/18.49, allocations: 1.256 MB / 6.445 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/18.49, allocations: 0 / 6.445 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/18.49, allocations: 8.172 kB / 6.445 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/18.49, allocations: 37.98 kB / 6.445 GB, free: 62.74 MB / 0.5261 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.009972/18.5, allocations: 4.543 MB / 6.45 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/18.51, allocations: 1.642 MB / 6.451 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008506/18.51, allocations: 0.6077 MB / 6.452 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/18.51, allocations: 282.8 kB / 6.452 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/18.51, allocations: 0.7537 MB / 6.453 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.609e-06/18.51, allocations: 0 / 6.453 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01141/18.52, allocations: 3.828 MB / 6.457 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/18.52, allocations: 321.2 kB / 6.457 GB, free: 50.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/18.52, allocations: 0.9276 MB / 6.458 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005012/18.52, allocations: 37.7 kB / 6.458 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000991/18.53, allocations: 0.6013 MB / 6.458 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/18.53, allocations: 256.2 kB / 6.459 GB, free: 48.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/18.53, allocations: 12 kB / 6.459 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001513/18.53, allocations: 353.9 kB / 6.459 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/18.53, allocations: 1.213 MB / 6.46 GB, free: 47.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/18.53, allocations: 1.412 MB / 6.462 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/18.53, allocations: 1.467 MB / 6.463 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/18.53, allocations: 4 kB / 6.463 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.007752/18.54, allocations: 3.324 MB / 6.466 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006248/18.54, allocations: 0.9505 MB / 6.467 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.731e-05/18.54, allocations: 4 kB / 6.467 GB, free: 39.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/18.54, allocations: 1.152 MB / 6.468 GB, free: 38.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/18.54, allocations: 227.7 kB / 6.469 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/18.55, allocations: 2.387 MB / 6.471 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/18.55, allocations: 156 kB / 6.471 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005132/18.55, allocations: 144 kB / 6.471 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/18.55, allocations: 9.031 kB / 6.471 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007709/18.56, allocations: 3.633 MB / 6.475 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/18.56, allocations: 0 / 6.475 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/18.56, allocations: 1.468 MB / 6.476 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/18.56, allocations: 203.7 kB / 6.476 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/18.58, allocations: 7.322 MB / 6.483 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/18.58, allocations: 147.7 kB / 6.484 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008088/18.58, allocations: 131.9 kB / 6.484 GB, free: 22.39 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 94 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009075/18.58, allocations: 147.7 kB / 6.484 GB, free: 22.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/18.58, allocations: 122.5 kB / 6.484 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/18.59, allocations: 1.287 MB / 6.485 GB, free: 20.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/18.59, allocations: 23.81 kB / 6.485 GB, free: 20.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/18.59, allocations: 0 / 6.485 GB, free: 20.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/18.59, allocations: 3.984 kB / 6.485 GB, free: 20.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/18.59, allocations: 2.488 MB / 6.488 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/18.59, allocations: 3.953 kB / 6.488 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/18.59, allocations: 191.8 kB / 6.488 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/18.59, allocations: 362.9 kB / 6.488 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/18.59, allocations: 19.98 kB / 6.488 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/18.59, allocations: 1.509 MB / 6.49 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/18.59, allocations: 4.156 kB / 6.49 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/18.6, allocations: 1.806 MB / 6.491 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/18.6, allocations: 331.4 kB / 6.492 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006089/18.6, allocations: 7.984 kB / 6.492 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/18.6, allocations: 67.89 kB / 6.492 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/18.6, allocations: 60.69 kB / 6.492 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/18.6, allocations: 43.97 kB / 6.492 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001367/18.6, allocations: 0.6784 MB / 6.493 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/18.6, allocations: 4 kB / 6.493 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005887/18.61, allocations: 1.249 MB / 6.494 GB, free: 11.86 MB / 0.5261 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) * 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.004918/18.61, allocations: 2.001 MB / 6.496 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01251/18.63, allocations: 13.1 MB / 6.509 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/18.63, allocations: 3.938 kB / 6.509 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/18.63, allocations: 0.4909 MB / 6.509 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/18.63, allocations: 0.5023 MB / 6.51 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/18.64, allocations: 2.029 MB / 6.512 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/18.64, allocations: 1.271 MB / 6.513 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00249/18.64, allocations: 386.6 kB / 6.513 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/18.64, allocations: 79.42 kB / 6.513 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of SimCode: time 1.503e-06/18.64, allocations: 0 / 6.513 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of Templates: time 0.6405/19.28, allocations: 49.33 MB / 6.561 GB, free: 89.61 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)