Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.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.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 99.16 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.001411/0.001411, 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.309/1.309, 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.5529/0.5529, allocations: 95.59 MB / 366 MB, free: 10.4 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.0005019/0.000502, allocations: 16 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2841, allocations: 70.33 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ControlledFlowMachine): time 0.4934/0.7776, allocations: 201.6 MB / 0.7019 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03863/0.8163, allocations: 23.15 MB / 0.7245 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007655/0.824, allocations: 163.8 kB / 0.7246 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008241/0.8323, allocations: 1.71 MB / 0.7263 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01812/0.8504, allocations: 4.602 MB / 0.7308 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01438/0.8648, allocations: 4.64 MB / 0.7353 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.8749, allocations: 4.563 MB / 0.7398 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.8781, allocations: 1.809 MB / 0.7415 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/0.8824, allocations: 2.089 MB / 0.7436 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003946/0.8864, allocations: 2.025 MB / 0.7456 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007342/0.8871, allocations: 152 kB / 0.7457 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005401/0.8926, allocations: 1.947 MB / 0.7476 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009065/0.8935, allocations: 0.5779 MB / 0.7482 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.8948, allocations: 0.6641 MB / 0.7488 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005716/0.9005, allocations: 3.6 MB / 0.7523 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9005, allocations: 0 / 0.7523 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.046e-06/0.9005, allocations: 0 / 0.7523 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001271/0.9007, allocations: 0 / 0.7523 GB, free: 14.23 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.00663/0.9073, allocations: 3.505 MB / 0.7558 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.9074, allocations: 12.52 kB / 0.7558 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.9084, allocations: 379.8 kB / 0.7561 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005745/0.9142, allocations: 2.555 MB / 0.7586 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.9145, allocations: 230.8 kB / 0.7588 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004906/0.915, allocations: 212 kB / 0.759 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004125/0.9191, allocations: 2.35 MB / 0.7613 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.9192, allocations: 0 / 0.7613 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.9194, allocations: 68 kB / 0.7614 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.9194, allocations: 44 kB / 0.7614 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.9225, allocations: 1.668 MB / 0.7631 GB, free: 2.965 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.01263/0.9352, allocations: 9.745 MB / 0.7726 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004667/0.9399, allocations: 1.708 MB / 0.7743 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/0.9421, allocations: 2.946 MB / 0.7771 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/0.9441, allocations: 1.116 MB / 0.7782 GB, free: 2.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=95): time 3.596e-06/0.9441, allocations: 7.938 kB / 0.7782 GB, free: 2.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=95): time 0.008537/0.9527, allocations: 2.996 MB / 0.7812 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.9528, allocations: 226.6 kB / 0.7814 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.9562, allocations: 2.362 MB / 0.7837 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.9567, allocations: 69.69 kB / 0.7837 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.958, allocations: 1.247 MB / 0.785 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.9583, allocations: 331.3 kB / 0.7853 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.9586, allocations: 47.94 kB / 0.7853 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9588, allocations: 385.7 kB / 0.7857 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/0.9615, allocations: 1.905 MB / 0.7876 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.9644, allocations: 2.242 MB / 0.7897 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.9674, allocations: 2.457 MB / 0.7921 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.9674, allocations: 4 kB / 0.7921 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008137/0.9756, allocations: 5.427 MB / 0.7974 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.002298/0.9779, allocations: 3.61 MB / 0.801 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/0.978, allocations: 4 kB / 0.801 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/0.981, allocations: 1.162 MB / 0.8021 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/0.9819, allocations: 255.6 kB / 0.8024 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.9844, allocations: 2.555 MB / 0.8048 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.9871, allocations: 433.2 kB / 0.8053 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/0.9877, allocations: 231.9 kB / 0.8055 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.9877, allocations: 8 kB / 0.8055 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01161/0.9994, allocations: 7.26 MB / 0.8126 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/0.9994, allocations: 12.25 kB / 0.8126 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004958/1.004, allocations: 2.496 MB / 0.815 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/1.005, allocations: 255.6 kB / 0.8153 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/1.009, allocations: 4.161 MB / 0.8193 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/1.012, allocations: 354.3 kB / 0.8197 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006549/1.013, allocations: 215.8 kB / 0.8199 GB, free: 6.387 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan1.curve,fan1.haveMinimumDecrease,fan1.haveDPMax,fan1.haveVMax,fan4.curve,fan4.haveMinimumDecrease,fan4.haveDPMax,fan4.haveVMax) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001561/1.014, allocations: 0.5944 MB / 0.8205 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/1.015, allocations: 260.7 kB / 0.8207 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/1.019, allocations: 1.925 MB / 0.8226 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.019, allocations: 15.98 kB / 0.8226 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.019, allocations: 0 / 0.8226 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.019, allocations: 3.984 kB / 0.8226 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006829/1.026, allocations: 3.979 MB / 0.8265 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.026, allocations: 3.938 kB / 0.8265 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/1.026, allocations: 203.8 kB / 0.8267 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/1.028, allocations: 0.7088 MB / 0.8274 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/1.028, allocations: 31.98 kB / 0.8274 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/1.031, allocations: 3.786 MB / 0.8311 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.031, allocations: 0 / 0.8311 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/1.034, allocations: 1.803 MB / 0.8329 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.035, allocations: 0.4894 MB / 0.8334 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/1.036, allocations: 23.98 kB / 0.8334 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.037, allocations: 103.8 kB / 0.8335 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.037, allocations: 92.77 kB / 0.8336 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/1.037, allocations: 47.97 kB / 0.8336 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002609/1.04, allocations: 1.52 MB / 0.8351 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/1.04, allocations: 0 / 0.8351 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005862/1.046, allocations: 1.684 MB / 0.8367 GB, free: 4.629 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (99): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001654/1.048, allocations: 0.6881 MB / 0.8374 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02279/1.07, allocations: 24.78 MB / 0.8616 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.07, allocations: 3.938 kB / 0.8616 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.072, allocations: 0.7864 MB / 0.8624 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005408/1.078, allocations: 1.016 MB / 0.8634 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/1.086, allocations: 4.865 MB / 0.8681 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/1.088, allocations: 1.774 MB / 0.8699 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002173/1.09, allocations: 454.3 kB / 0.8703 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/1.091, allocations: 175.4 kB / 0.8705 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/1.091, allocations: 0 / 0.8705 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of Templates: time 0.3284/1.419, allocations: 66.93 MB / 0.9358 GB, free: 218.3 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe 2>&1) Environment - environmentSimulation: