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.5378/0.5378, allocations: 94.69 MB / 107.2 MB, free: 5.188 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.001263/0.001264, allocations: 177.7 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.564/1.564, allocations: 170.5 MB / 324.5 MB, free: 4.004 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.001761/0.001761, allocations: 103.9 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.334e-05/5.337e-05, allocations: 4 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.5537, allocations: 61.5 MB / 0.5054 GB, free: 49.63 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.74/16.3, allocations: 5.333 GB / 5.839 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/16.3, allocations: 90.75 kB / 5.839 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.506/18.8, allocations: 0.6138 GB / 6.453 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/18.8, allocations: 0 / 6.453 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001362/18.8, allocations: 48.25 kB / 6.453 GB, free: 58.12 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.004908/18.81, allocations: 1.937 MB / 6.455 GB, free: 56.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/18.81, allocations: 9.594 kB / 6.455 GB, free: 56.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006167/18.81, allocations: 192 kB / 6.455 GB, free: 56.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/18.81, allocations: 1.791 MB / 6.456 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/18.81, allocations: 124.7 kB / 6.457 GB, free: 56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/18.81, allocations: 113.4 kB / 6.457 GB, free: 55.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/18.81, allocations: 1.412 MB / 6.458 GB, free: 55.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/18.81, allocations: 0 / 6.458 GB, free: 55.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/18.81, allocations: 38.84 kB / 6.458 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/18.81, allocations: 38.08 kB / 6.458 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/18.82, allocations: 1.125 MB / 6.459 GB, free: 54.97 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.008667/18.83, allocations: 4.751 MB / 6.464 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/18.83, allocations: 1.281 MB / 6.465 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/18.83, allocations: 432.7 kB / 6.466 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/18.83, allocations: 284.5 kB / 6.466 GB, free: 51.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/18.83, allocations: 0.8031 MB / 6.467 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/18.83, allocations: 0 / 6.467 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.00941/18.84, allocations: 2.85 MB / 6.469 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/18.84, allocations: 317 kB / 6.47 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/18.84, allocations: 1.095 MB / 6.471 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005431/18.84, allocations: 53.45 kB / 6.471 GB, free: 49.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007012/18.84, allocations: 0.5933 MB / 6.471 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/18.84, allocations: 267.3 kB / 6.472 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/18.84, allocations: 30.47 kB / 6.472 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000132/18.84, allocations: 356.7 kB / 6.472 GB, free: 48.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/18.85, allocations: 1.021 MB / 6.473 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/18.85, allocations: 1.237 MB / 6.474 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/18.85, allocations: 1.308 MB / 6.475 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/18.85, allocations: 3.953 kB / 6.475 GB, free: 46.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004499/18.85, allocations: 2.829 MB / 6.478 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004425/18.86, allocations: 0.9574 MB / 6.479 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/18.86, allocations: 3.938 kB / 6.479 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/18.86, allocations: 0.5328 MB / 6.48 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/18.86, allocations: 237.6 kB / 6.48 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/18.86, allocations: 1.543 MB / 6.481 GB, free: 43.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/18.86, allocations: 168 kB / 6.482 GB, free: 43.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/18.86, allocations: 149.8 kB / 6.482 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/18.86, allocations: 3.969 kB / 6.482 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006533/18.87, allocations: 3.943 MB / 6.486 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/18.87, allocations: 4 kB / 6.486 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/18.87, allocations: 1.49 MB / 6.487 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/18.87, allocations: 206.4 kB / 6.487 GB, free: 39.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/18.89, allocations: 7.586 MB / 6.495 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/18.89, allocations: 171.7 kB / 6.495 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/18.89, allocations: 131.9 kB / 6.495 GB, free: 31.41 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.0006171/18.89, allocations: 173.3 kB / 6.495 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/18.89, allocations: 138.3 kB / 6.495 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/18.89, allocations: 1.224 MB / 6.496 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/18.89, allocations: 8 kB / 6.496 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/18.89, allocations: 3.938 kB / 6.496 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/18.89, allocations: 3.984 kB / 6.496 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/18.9, allocations: 2.535 MB / 6.499 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/18.9, allocations: 4 kB / 6.499 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/18.9, allocations: 195.7 kB / 6.499 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009867/18.9, allocations: 459.4 kB / 6.5 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/18.9, allocations: 27.98 kB / 6.5 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009867/18.9, allocations: 1.443 MB / 6.501 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/18.9, allocations: 3.938 kB / 6.501 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/18.9, allocations: 1.738 MB / 6.503 GB, free: 23.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/18.9, allocations: 339.3 kB / 6.503 GB, free: 23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/18.9, allocations: 27.94 kB / 6.503 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/18.91, allocations: 83.92 kB / 6.503 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/18.91, allocations: 60.69 kB / 6.503 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/18.91, allocations: 39.98 kB / 6.503 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00118/18.91, allocations: 0.8157 MB / 6.504 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.9e-07/18.91, allocations: 0 / 6.504 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00475/18.91, allocations: 1.325 MB / 6.505 GB, free: 20.65 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.003648/18.92, allocations: 1.805 MB / 6.507 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009791/18.93, allocations: 12.94 MB / 6.52 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/18.93, allocations: 0 / 6.52 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/18.93, allocations: 0.5042 MB / 6.52 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/18.93, allocations: 0.5943 MB / 6.521 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/18.93, allocations: 2.083 MB / 6.523 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/18.93, allocations: 1.271 MB / 6.524 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001781/18.94, allocations: 428.2 kB / 6.524 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/18.94, allocations: 83.42 kB / 6.525 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/18.94, allocations: 0 / 6.525 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.5478/19.48, allocations: 66.93 MB / 6.59 GB, free: 75.36 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)