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.001128/0.001128, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001262/0.001262, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.5808/0.5808, allocations: 95.58 MB / 366 MB, free: 10.41 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.0005241/0.0005242, allocations: 20 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3926, allocations: 70.33 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.FlowMachineFeedbackControl): time 0.4468/0.8394, allocations: 168.4 MB / 0.6695 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.854, allocations: 10.71 MB / 0.6799 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.8561, allocations: 50.75 kB / 0.68 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.8583, allocations: 0.6461 MB / 0.6806 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006726/0.865, allocations: 2.054 MB / 0.6826 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007928/0.8729, allocations: 2.617 MB / 0.6852 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.8766, allocations: 1.995 MB / 0.6871 GB, free: 500 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.8781, allocations: 0.8983 MB / 0.688 GB, free: 144 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.8802, allocations: 1.011 MB / 0.689 GB, free: 0 / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.8819, allocations: 0.8907 MB / 0.6898 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.8822, allocations: 79 kB / 0.6899 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.8861, allocations: 1.687 MB / 0.6916 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005152/0.8866, allocations: 440 kB / 0.692 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.8872, allocations: 348.5 kB / 0.6923 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.8908, allocations: 2.52 MB / 0.6948 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.8908, allocations: 5.688 kB / 0.6948 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8908, allocations: 2.531 kB / 0.6948 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.492e-05/0.8909, allocations: 0 / 0.6948 GB, free: 14.14 MB / 0.4981 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.004346/0.8952, allocations: 2.11 MB / 0.6968 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8953, allocations: 10.66 kB / 0.6969 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005627/0.8958, allocations: 190.1 kB / 0.697 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.8984, allocations: 1.352 MB / 0.6984 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.8985, allocations: 123.1 kB / 0.6985 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.8988, allocations: 112.3 kB / 0.6986 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.901, allocations: 1.457 MB / 0.7 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.9011, allocations: 2.906 kB / 0.7 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.9012, allocations: 44.56 kB / 0.7 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.9012, allocations: 38.5 kB / 0.7001 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.9032, allocations: 1.222 MB / 0.7013 GB, free: 11.41 MB / 0.4981 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.007474/0.9107, allocations: 5.391 MB / 0.7065 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.9136, allocations: 1.188 MB / 0.7077 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/0.9142, allocations: 0.6196 MB / 0.7083 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.9155, allocations: 0.8014 MB / 0.7091 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=71): time 2.425e-06/0.9155, allocations: 0 / 0.7091 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=77): time 0.008864/0.9244, allocations: 3.44 MB / 0.7124 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.9245, allocations: 281 kB / 0.7127 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.9262, allocations: 1.303 MB / 0.714 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002409/0.9264, allocations: 51.83 kB / 0.714 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.9269, allocations: 0.6166 MB / 0.7146 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.9272, allocations: 272.6 kB / 0.7149 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.9273, allocations: 26.38 kB / 0.7149 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9275, allocations: 357.4 kB / 0.7153 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.9291, allocations: 1.186 MB / 0.7164 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.9308, allocations: 1.371 MB / 0.7178 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.9325, allocations: 1.462 MB / 0.7192 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.9325, allocations: 4 kB / 0.7192 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004522/0.9371, allocations: 3.158 MB / 0.7223 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005699/0.9377, allocations: 1.127 MB / 0.7234 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.9377, allocations: 4.094 kB / 0.7234 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009692/0.9387, allocations: 0.4907 MB / 0.7239 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9399, allocations: 246.1 kB / 0.7241 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.9418, allocations: 1.629 MB / 0.7257 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.9435, allocations: 203.7 kB / 0.7259 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.9438, allocations: 120 kB / 0.726 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.9438, allocations: 4 kB / 0.726 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006479/0.9503, allocations: 4.233 MB / 0.7301 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.9504, allocations: 7.984 kB / 0.7301 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/0.953, allocations: 1.308 MB / 0.7314 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/0.954, allocations: 213 kB / 0.7316 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.9683, allocations: 7.494 MB / 0.7389 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.9702, allocations: 196.6 kB / 0.7391 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.9704, allocations: 110.4 kB / 0.7392 GB, free: 14.92 MB / 0.5294 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 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan.curve,fan.haveMinimumDecrease,fan.haveDPMax,fan.haveVMax,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 (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.0008306/0.9713, allocations: 452 kB / 0.7397 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.9715, allocations: 134.3 kB / 0.7398 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.9737, allocations: 1.288 MB / 0.7411 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.9738, allocations: 11.95 kB / 0.7411 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.9738, allocations: 0 / 0.7411 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.9738, allocations: 3.984 kB / 0.7411 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/0.978, allocations: 2.71 MB / 0.7437 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.978, allocations: 0 / 0.7437 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.9791, allocations: 200.7 kB / 0.7439 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008529/0.9799, allocations: 418.2 kB / 0.7443 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/0.98, allocations: 24.8 kB / 0.7443 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009309/0.9809, allocations: 1.436 MB / 0.7457 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.981, allocations: 0 / 0.7457 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.9842, allocations: 1.991 MB / 0.7477 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/0.9849, allocations: 342.6 kB / 0.748 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.9851, allocations: 22.98 kB / 0.748 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007942/0.9859, allocations: 77.75 kB / 0.7481 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.986, allocations: 64.12 kB / 0.7482 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.9861, allocations: 34.55 kB / 0.7482 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001068/0.9872, allocations: 0.865 MB / 0.749 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9872, allocations: 4 kB / 0.749 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003195/0.9904, allocations: 1.155 MB / 0.7502 GB, free: 6.094 MB / 0.5294 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 (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.001746/0.9922, allocations: 0.7792 MB / 0.7509 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.004, allocations: 13.2 MB / 0.7638 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.004, allocations: 4 kB / 0.7638 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/1.006, allocations: 0.5527 MB / 0.7644 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.008, allocations: 0.5873 MB / 0.7649 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/1.013, allocations: 3.205 MB / 0.7681 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/1.014, allocations: 1.286 MB / 0.7693 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001282/1.015, allocations: 316.8 kB / 0.7696 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/1.015, allocations: 99.42 kB / 0.7697 GB, free: 3.965 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/1.015, allocations: 0 / 0.7697 GB, free: 3.965 MB / 0.545 GB Notification: Performance of Templates: time 0.06489/1.08, allocations: 45.76 MB / 0.8144 GB, free: 6.438 MB / 0.5919 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: