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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008547, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007669/0.00767, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6178/0.6178, allocations: 95.62 MB / 366.4 MB, free: 10.24 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005771, allocations: 15.98 kB / 447.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3881, allocations: 70.34 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl): time 0.6174/1.006, allocations: 216.3 MB / 0.7169 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01784/1.023, allocations: 8.592 MB / 0.7253 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/1.027, allocations: 52.34 kB / 0.7254 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002857/1.03, allocations: 0.6931 MB / 0.726 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006266/1.036, allocations: 1.732 MB / 0.7277 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/1.046, allocations: 3.275 MB / 0.7309 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007049/1.053, allocations: 4.526 MB / 0.7354 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/1.055, allocations: 0.98 MB / 0.7363 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/1.057, allocations: 1.083 MB / 0.7374 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/1.06, allocations: 1.215 MB / 0.7386 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/1.06, allocations: 76 kB / 0.7386 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006815/1.067, allocations: 3.069 MB / 0.7416 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006889/1.067, allocations: 480.9 kB / 0.7421 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.069, allocations: 0.854 MB / 0.7429 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007425/1.076, allocations: 3.878 MB / 0.7467 GB, free: 308 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.076, allocations: 0 / 0.7467 GB, free: 308 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/1.076, allocations: 0 / 0.7467 GB, free: 308 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.92e-05/1.076, allocations: 0 / 0.7467 GB, free: 308 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.00471/1.081, allocations: 2.156 MB / 0.7488 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.081, allocations: 8.031 kB / 0.7488 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/1.081, allocations: 193.9 kB / 0.749 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/1.084, allocations: 1.392 MB / 0.7504 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/1.084, allocations: 119.7 kB / 0.7505 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/1.084, allocations: 116 kB / 0.7506 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/1.087, allocations: 1.461 MB / 0.752 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/1.087, allocations: 4 kB / 0.752 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/1.087, allocations: 39.94 kB / 0.7521 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/1.087, allocations: 34 kB / 0.7521 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/1.09, allocations: 1.234 MB / 0.7533 GB, free: 9.434 MB / 0.5294 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.00935/1.099, allocations: 5.338 MB / 0.7585 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/1.103, allocations: 1.192 MB / 0.7597 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/1.103, allocations: 462.4 kB / 0.7601 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/1.105, allocations: 0.6319 MB / 0.7607 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/1.106, allocations: 0.7992 MB / 0.7615 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=71): time 2.194e-06/1.106, allocations: 0 / 0.7615 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=77): time 0.009793/1.116, allocations: 3.447 MB / 0.7649 GB, free: 13.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/1.116, allocations: 269.7 kB / 0.7651 GB, free: 12.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.118, allocations: 1.289 MB / 0.7664 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002797/1.118, allocations: 53.7 kB / 0.7664 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/1.119, allocations: 0.6114 MB / 0.767 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.119, allocations: 271.5 kB / 0.7673 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/1.119, allocations: 133.6 kB / 0.7674 GB, free: 10.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.12, allocations: 357.9 kB / 0.7678 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/1.122, allocations: 1.478 MB / 0.7692 GB, free: 8.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/1.124, allocations: 1.671 MB / 0.7708 GB, free: 6.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/1.128, allocations: 2.624 MB / 0.7734 GB, free: 4.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.128, allocations: 3.938 kB / 0.7734 GB, free: 4.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.006203/1.134, allocations: 3.985 MB / 0.7773 GB, free: 120 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003631/1.134, allocations: 402.2 kB / 0.7777 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/1.134, allocations: 4 kB / 0.7777 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.136, allocations: 0.7581 MB / 0.7784 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.137, allocations: 255.6 kB / 0.7787 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/1.138, allocations: 1.544 MB / 0.7802 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.14, allocations: 207.9 kB / 0.7804 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/1.141, allocations: 120 kB / 0.7805 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.141, allocations: 4 kB / 0.7805 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007273/1.148, allocations: 4.308 MB / 0.7847 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.148, allocations: 4.25 kB / 0.7847 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/1.151, allocations: 1.312 MB / 0.786 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009377/1.152, allocations: 211.7 kB / 0.7862 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/1.166, allocations: 7.177 MB / 0.7932 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.168, allocations: 191.7 kB / 0.7934 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/1.168, allocations: 112 kB / 0.7935 GB, free: 15.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (fan.haveVMax,fan.haveDPMax,fan.haveMinimumDecrease,fan.curve,y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 102 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001006/1.169, allocations: 448.8 kB / 0.7939 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/1.17, allocations: 142.2 kB / 0.7941 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/1.172, allocations: 1.284 MB / 0.7953 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/1.172, allocations: 8 kB / 0.7953 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.172, allocations: 0 / 0.7953 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.172, allocations: 3.984 kB / 0.7953 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/1.176, allocations: 2.55 MB / 0.7978 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.176, allocations: 48 / 0.7978 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.177, allocations: 199.7 kB / 0.798 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/1.179, allocations: 432.5 kB / 0.7984 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/1.179, allocations: 23.98 kB / 0.7984 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/1.18, allocations: 1.443 MB / 0.7998 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.18, allocations: 0 / 0.7998 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/1.183, allocations: 1.827 MB / 0.8016 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/1.183, allocations: 331.3 kB / 0.8019 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/1.184, allocations: 20 kB / 0.802 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/1.184, allocations: 87.77 kB / 0.802 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.185, allocations: 60.91 kB / 0.8021 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/1.185, allocations: 35.98 kB / 0.8021 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00116/1.186, allocations: 0.85 MB / 0.803 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.186, allocations: 0 / 0.803 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003152/1.189, allocations: 1.16 MB / 0.8041 GB, free: 4.055 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (fan.filter.x[1],fan.filter.x[2],fan.vol.dynBal.medium.p,fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.medium.T,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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/1.191, allocations: 0.7967 MB / 0.8049 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.204, allocations: 13.58 MB / 0.8181 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.204, allocations: 0 / 0.8181 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.205, allocations: 0.5552 MB / 0.8187 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.208, allocations: 0.5962 MB / 0.8193 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/1.214, allocations: 3.308 MB / 0.8225 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008743/1.215, allocations: 1.261 MB / 0.8237 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001537/1.216, allocations: 321.2 kB / 0.824 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/1.217, allocations: 103.4 kB / 0.8241 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/1.217, allocations: 0 / 0.8241 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of Templates: time 0.3358/1.552, allocations: 48.08 MB / 0.8711 GB, free: 270.9 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: