Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.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.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") translateModel(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001303/0.001304, allocations: 193.4 kB / 16.14 MB, free: 6.66 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.621/1.621, allocations: 205.1 MB / 222 MB, free: 4.77 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.6172/0.6172, allocations: 95.48 MB / 364.8 MB, free: 10.1 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.001567/0.001567, allocations: 63.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4036, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine): time 0.622/1.026, allocations: 147 MB / 0.6452 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005137/1.031, allocations: 2.564 MB / 0.6477 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/1.032, allocations: 22.41 kB / 0.6477 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009263/1.033, allocations: 172.6 kB / 0.6479 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/1.034, allocations: 338.3 kB / 0.6482 GB, free: 0.5273 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Utilities/Reports/printRealArray.mo:2:1-45:19:writable] Warning: Pure function ‘Buildings.Utilities.Reports.printRealArray‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002562/1.036, allocations: 0.7194 MB / 0.6489 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/1.039, allocations: 1.456 MB / 0.6503 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/1.039, allocations: 325 kB / 0.6507 GB, free: 472 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007775/1.04, allocations: 400.5 kB / 0.651 GB, free: 472 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/1.041, allocations: 455.2 kB / 0.6515 GB, free: 464 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/1.041, allocations: 26.91 kB / 0.6515 GB, free: 464 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/1.042, allocations: 0.5856 MB / 0.6521 GB, free: 452 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/1.043, allocations: 128.9 kB / 0.6522 GB, free: 448 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/1.043, allocations: 281.8 kB / 0.6525 GB, free: 444 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/1.044, allocations: 0.8767 MB / 0.6533 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.044, allocations: 0 / 0.6533 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/1.044, allocations: 4 kB / 0.6533 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/1.044, allocations: 0 / 0.6533 GB, free: 384 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001847/1.046, allocations: 0.9204 MB / 0.6542 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.046, allocations: 18.11 kB / 0.6542 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/1.047, allocations: 73.66 kB / 0.6543 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/1.047, allocations: 412.7 kB / 0.6547 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/1.047, allocations: 34.7 kB / 0.6547 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/1.047, allocations: 41 kB / 0.6548 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/1.048, allocations: 476.4 kB / 0.6552 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.048, allocations: 0 / 0.6552 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/1.048, allocations: 16.7 kB / 0.6552 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.048, allocations: 8.594 kB / 0.6553 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/1.049, allocations: 337.8 kB / 0.6556 GB, free: 15.38 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.002507/1.051, allocations: 1.67 MB / 0.6572 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/1.052, allocations: 345 kB / 0.6575 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/1.052, allocations: 149 kB / 0.6577 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/1.053, allocations: 0.6952 MB / 0.6584 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/1.053, allocations: 275.9 kB / 0.6586 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/1.053, allocations: 0 / 0.6586 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001026/1.054, allocations: 496.1 kB / 0.6591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.054, allocations: 217.3 kB / 0.6593 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/1.055, allocations: 448.8 kB / 0.6597 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/1.055, allocations: 32.33 kB / 0.6598 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/1.055, allocations: 273.5 kB / 0.66 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.055, allocations: 99.98 kB / 0.6601 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/1.056, allocations: 97.41 kB / 0.6602 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.056, allocations: 358.5 kB / 0.6605 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/1.056, allocations: 162.1 kB / 0.6607 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/1.056, allocations: 332.8 kB / 0.661 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/1.057, allocations: 449.6 kB / 0.6614 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.057, allocations: 2.906 kB / 0.6615 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008559/1.058, allocations: 0.5182 MB / 0.662 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.058, allocations: 6.156 kB / 0.662 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.058, allocations: 3.344 kB / 0.662 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.058, allocations: 7.906 kB / 0.662 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/1.059, allocations: 120.2 kB / 0.6621 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003982/1.059, allocations: 0.6297 MB / 0.6627 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/1.059, allocations: 64.92 kB / 0.6628 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/1.06, allocations: 22.59 kB / 0.6628 GB, free: 11.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (printer.firstTrigger,$PRE.printer.firstTrigger,printer.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002499/1.06, allocations: 185.3 kB / 0.663 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/1.06, allocations: 47.41 kB / 0.663 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/1.061, allocations: 0.5497 MB / 0.6635 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.061, allocations: 2.125 kB / 0.6635 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.061, allocations: 3.938 kB / 0.6636 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.061, allocations: 5.766 kB / 0.6636 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/1.062, allocations: 1.111 MB / 0.6646 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.062, allocations: 0 / 0.6646 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/1.063, allocations: 82.97 kB / 0.6647 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.063, allocations: 11.34 kB / 0.6647 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/1.063, allocations: 5.938 kB / 0.6647 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003482/1.063, allocations: 0.6215 MB / 0.6653 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.063, allocations: 4.062 kB / 0.6653 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.064, allocations: 0.747 MB / 0.6661 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.065, allocations: 122.5 kB / 0.6662 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/1.065, allocations: 13.89 kB / 0.6662 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/1.065, allocations: 37.58 kB / 0.6662 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/1.065, allocations: 16.95 kB / 0.6663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/1.065, allocations: 17.69 kB / 0.6663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003919/1.065, allocations: 322.8 kB / 0.6666 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.065, allocations: 0 / 0.6666 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007855/1.066, allocations: 199.6 kB / 0.6668 GB, free: 9.988 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (TIn.T,TOut.T) * Number of discrete variables: 3 (printer.sampleTrigger,$whenCondition1,printer.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0007244/1.067, allocations: 329.4 kB / 0.6671 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009147/1.068, allocations: 433 kB / 0.6675 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.068, allocations: 4.797 kB / 0.6675 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004413/1.068, allocations: 208.9 kB / 0.6677 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.069, allocations: 218.6 kB / 0.6679 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/1.071, allocations: 1.178 MB / 0.6691 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/1.072, allocations: 0.8535 MB / 0.6699 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003744/1.072, allocations: 118.2 kB / 0.67 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.072, allocations: 50.05 kB / 0.6701 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/1.072, allocations: 2.906 kB / 0.6701 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01815/1.09, allocations: 10.62 MB / 0.6804 GB, free: 5.027 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe 2>&1)