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.001197/0.001197, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001432/0.001433, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.66/0.66, allocations: 95.62 MB / 366 MB, free: 10.44 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.0006109/0.0006109, allocations: 12 kB / 446.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5399, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine): time 0.6645/1.205, allocations: 135.3 MB / 0.6372 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005387/1.21, allocations: 2.387 MB / 0.6395 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008522/1.211, allocations: 21.09 kB / 0.6395 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/1.212, allocations: 165.1 kB / 0.6397 GB, free: 1.871 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001639/1.214, allocations: 389.5 kB / 0.6401 GB, free: 1.848 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.003382/1.217, allocations: 0.6279 MB / 0.6407 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00258/1.22, allocations: 1.24 MB / 0.6419 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/1.22, allocations: 308.2 kB / 0.6422 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009761/1.221, allocations: 392.7 kB / 0.6426 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006999/1.222, allocations: 418.4 kB / 0.643 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/1.222, allocations: 23.31 kB / 0.643 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/1.224, allocations: 487.9 kB / 0.6434 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/1.224, allocations: 112.6 kB / 0.6435 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/1.225, allocations: 123.5 kB / 0.6437 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/1.226, allocations: 0.604 MB / 0.6443 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.226, allocations: 3.141 kB / 0.6443 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/1.226, allocations: 0 / 0.6443 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.986e-06/1.226, allocations: 1.906 kB / 0.6443 GB, free: 17.7 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.001597/1.227, allocations: 0.8259 MB / 0.6451 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.227, allocations: 19.14 kB / 0.6451 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/1.228, allocations: 71.17 kB / 0.6452 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/1.228, allocations: 402.2 kB / 0.6455 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/1.228, allocations: 32.88 kB / 0.6456 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/1.228, allocations: 40.69 kB / 0.6456 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/1.229, allocations: 472.1 kB / 0.6461 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.229, allocations: 0.5 kB / 0.6461 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/1.229, allocations: 24.17 kB / 0.6461 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.229, allocations: 8.031 kB / 0.6461 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/1.23, allocations: 349 kB / 0.6464 GB, free: 16.71 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.002919/1.233, allocations: 1.685 MB / 0.6481 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/1.234, allocations: 334.5 kB / 0.6484 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/1.234, allocations: 154.9 kB / 0.6485 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008134/1.235, allocations: 0.7088 MB / 0.6492 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/1.235, allocations: 279.4 kB / 0.6495 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/1.235, allocations: 4 kB / 0.6495 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001203/1.236, allocations: 0.4964 MB / 0.65 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.236, allocations: 214.2 kB / 0.6502 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000667/1.237, allocations: 448.8 kB / 0.6506 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/1.237, allocations: 35.58 kB / 0.6506 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/1.237, allocations: 261.8 kB / 0.6509 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/1.238, allocations: 106.6 kB / 0.651 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/1.238, allocations: 8.25 kB / 0.651 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.238, allocations: 363.4 kB / 0.6514 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/1.238, allocations: 162.7 kB / 0.6515 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/1.238, allocations: 333.3 kB / 0.6518 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/1.239, allocations: 206.1 kB / 0.652 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.239, allocations: 0 / 0.652 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008229/1.24, allocations: 0.5259 MB / 0.6525 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.24, allocations: 12.78 kB / 0.6525 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.24, allocations: 2.938 kB / 0.6526 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/1.24, allocations: 6.031 kB / 0.6526 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/1.24, allocations: 121.1 kB / 0.6527 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004092/1.241, allocations: 0.6233 MB / 0.6533 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/1.241, allocations: 78.12 kB / 0.6534 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/1.241, allocations: 23.28 kB / 0.6534 GB, free: 13.11 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 ($PRE.printer.firstTrigger,printer.firstTrigger,$whenCondition1,printer.sampleTrigger) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002513/1.242, allocations: 181.5 kB / 0.6536 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/1.242, allocations: 50.25 kB / 0.6536 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/1.243, allocations: 0.5672 MB / 0.6542 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.243, allocations: 2.531 kB / 0.6542 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.243, allocations: 0 / 0.6542 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/1.243, allocations: 5.797 kB / 0.6542 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.244, allocations: 1.114 MB / 0.6552 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.244, allocations: 3 kB / 0.6553 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/1.245, allocations: 92.91 kB / 0.6553 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/1.245, allocations: 3.125 kB / 0.6553 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/1.245, allocations: 6.406 kB / 0.6553 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004157/1.245, allocations: 0.6193 MB / 0.656 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.245, allocations: 3.312 kB / 0.656 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.246, allocations: 0.7665 MB / 0.6567 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.246, allocations: 136.4 kB / 0.6568 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/1.246, allocations: 6.906 kB / 0.6568 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/1.247, allocations: 27.28 kB / 0.6569 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/1.247, allocations: 28.67 kB / 0.6569 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/1.247, allocations: 17.62 kB / 0.6569 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003625/1.247, allocations: 316.4 kB / 0.6572 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.247, allocations: 0 / 0.6572 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008602/1.248, allocations: 195 kB / 0.6574 GB, free: 11.46 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0007849/1.249, allocations: 320 kB / 0.6577 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009837/1.25, allocations: 440.6 kB / 0.6581 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.25, allocations: 0 / 0.6581 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/1.25, allocations: 215.1 kB / 0.6583 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.252, allocations: 224.4 kB / 0.6585 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/1.253, allocations: 1.186 MB / 0.6597 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/1.254, allocations: 0.8616 MB / 0.6605 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004374/1.254, allocations: 120.5 kB / 0.6607 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/1.254, allocations: 46 kB / 0.6607 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/1.254, allocations: 0 / 0.6607 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.01917/1.273, allocations: 10.17 MB / 0.6706 GB, free: 7.562 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: