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.000966/0.0009658, allocations: 97.64 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.007256/0.007256, allocations: 169.6 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.76/1.76, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.6681/0.6681, 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.0005631/0.0005631, allocations: 12 kB / 447.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3862, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine): time 0.5674/0.9538, allocations: 145 MB / 0.6473 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.9582, allocations: 2.519 MB / 0.6497 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009078/0.9592, allocations: 18.25 kB / 0.6498 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.96, allocations: 174.7 kB / 0.6499 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.961, allocations: 344.7 kB / 0.6503 GB, free: 0.5898 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.002283/0.9633, allocations: 0.7156 MB / 0.651 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002565/0.9659, allocations: 1.459 MB / 0.6524 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.9664, allocations: 325.7 kB / 0.6527 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007155/0.9671, allocations: 388.1 kB / 0.6531 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.9677, allocations: 442.7 kB / 0.6535 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.9678, allocations: 26.5 kB / 0.6535 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.9695, allocations: 0.5865 MB / 0.6541 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.9697, allocations: 123.1 kB / 0.6542 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.9701, allocations: 284.5 kB / 0.6545 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.9712, allocations: 0.8706 MB / 0.6553 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9712, allocations: 4 kB / 0.6553 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9712, allocations: 0 / 0.6553 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.9712, allocations: 0 / 0.6553 GB, free: 16.4 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001423/0.9726, allocations: 0.8177 MB / 0.6561 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9727, allocations: 12.95 kB / 0.6561 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.973, allocations: 72.92 kB / 0.6562 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.9735, allocations: 422.6 kB / 0.6566 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.9735, allocations: 29.91 kB / 0.6566 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.9736, allocations: 43.14 kB / 0.6567 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.9744, allocations: 478.2 kB / 0.6571 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.9744, allocations: 0 / 0.6571 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.9744, allocations: 16.09 kB / 0.6571 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.9745, allocations: 9 kB / 0.6572 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.975, allocations: 356.6 kB / 0.6575 GB, free: 15.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.002349/0.9774, allocations: 1.678 MB / 0.6591 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.9779, allocations: 341.2 kB / 0.6595 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.9782, allocations: 152.2 kB / 0.6596 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007591/0.979, allocations: 0.7091 MB / 0.6603 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.9794, allocations: 280.5 kB / 0.6606 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/0.9794, allocations: 0 / 0.6606 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.0008921/0.9803, allocations: 0.5048 MB / 0.6611 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/0.9804, allocations: 210.7 kB / 0.6613 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.9808, allocations: 451.9 kB / 0.6617 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.9809, allocations: 32.05 kB / 0.6617 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.9811, allocations: 267.4 kB / 0.662 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.9811, allocations: 103.9 kB / 0.6621 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.9812, allocations: 39.03 kB / 0.6621 GB, free: 13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9814, allocations: 363.9 kB / 0.6625 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.9816, allocations: 162.2 kB / 0.6626 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.982, allocations: 335.7 kB / 0.6629 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.9827, allocations: 464.1 kB / 0.6634 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9827, allocations: 0 / 0.6634 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008178/0.9835, allocations: 0.5257 MB / 0.6639 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9835, allocations: 14.94 kB / 0.6639 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9835, allocations: 3.531 kB / 0.6639 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.9836, allocations: 8.75 kB / 0.6639 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.9842, allocations: 123.8 kB / 0.664 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003743/0.9846, allocations: 0.6254 MB / 0.6646 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.985, allocations: 69.88 kB / 0.6647 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.985, allocations: 24.38 kB / 0.6647 GB, free: 11.66 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.0002143/0.9852, allocations: 181.2 kB / 0.6649 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.9853, allocations: 53.34 kB / 0.665 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009386/0.9863, allocations: 0.56 MB / 0.6655 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.9863, allocations: 5.312 kB / 0.6655 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.9863, allocations: 3.938 kB / 0.6655 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9863, allocations: 3.188 kB / 0.6655 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.9877, allocations: 1.119 MB / 0.6666 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9877, allocations: 0 / 0.6666 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.9881, allocations: 90.58 kB / 0.6667 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.9881, allocations: 6.906 kB / 0.6667 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.9881, allocations: 8.578 kB / 0.6667 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003264/0.9885, allocations: 0.6164 MB / 0.6673 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9885, allocations: 0 / 0.6673 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009815/0.9895, allocations: 0.7741 MB / 0.6681 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.9896, allocations: 140.6 kB / 0.6682 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.9897, allocations: 7.125 kB / 0.6682 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.99, allocations: 28.11 kB / 0.6682 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.9901, allocations: 24.72 kB / 0.6683 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.9901, allocations: 11.91 kB / 0.6683 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002987/0.9904, allocations: 322.7 kB / 0.6686 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9904, allocations: 0 / 0.6686 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006704/0.9911, allocations: 204.9 kB / 0.6688 GB, free: 10.01 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.0006949/0.9918, allocations: 335 kB / 0.6691 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008113/0.9926, allocations: 434.1 kB / 0.6695 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9926, allocations: 0 / 0.6695 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.993, allocations: 226.6 kB / 0.6697 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.9942, allocations: 224.1 kB / 0.6699 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.9957, allocations: 1.231 MB / 0.6711 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.9961, allocations: 0.8618 MB / 0.672 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003871/0.9965, allocations: 120.1 kB / 0.6721 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.9967, allocations: 48.23 kB / 0.6721 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.9967, allocations: 0 / 0.6721 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of Templates: time 0.01753/1.014, allocations: 10.53 MB / 0.6824 GB, free: 4.664 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: