Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 171.5 kB / 327.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008394/0.0008394, allocations: 87.81 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004242, allocations: 15.34 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.369, allocations: 143.8 MB / 1.042 GB, free: 15.69 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3693, allocations: 91.94 kB / 1.042 GB, free: 15.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.4005, allocations: 11.21 MB / 1.053 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.767e-06/0.4006, allocations: 0 / 1.053 GB, free: 4.367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.4006, allocations: 4 kB / 1.053 GB, free: 4.363 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001494/0.4021, allocations: 0.6721 MB / 1.053 GB, free: 3.641 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4022, allocations: 11.97 kB / 1.053 GB, free: 3.629 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.4025, allocations: 48.62 kB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4036, allocations: 0.5896 MB / 1.054 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4036, allocations: 12.31 kB / 1.054 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.4036, allocations: 12.38 kB / 1.054 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.404, allocations: 150.1 kB / 1.054 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.404, allocations: 7.922 kB / 1.054 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.404, allocations: 8 kB / 1.054 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.404, allocations: 0 / 1.054 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.4044, allocations: 131.8 kB / 1.054 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/0.4053, allocations: 0.4886 MB / 1.055 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.4056, allocations: 126.5 kB / 1.055 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.4058, allocations: 64.81 kB / 1.055 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.254e-05/0.4058, allocations: 4 kB / 1.055 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4059, allocations: 38.5 kB / 1.055 GB, free: 1.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4059, allocations: 0 / 1.055 GB, free: 1.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006772/0.4066, allocations: 241.7 kB / 1.055 GB, free: 1.602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.4066, allocations: 51.41 kB / 1.055 GB, free: 1.539 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.407, allocations: 336.4 kB / 1.056 GB, free: 1.203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.407, allocations: 29.7 kB / 1.056 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4071, allocations: 156 kB / 1.056 GB, free: 1.012 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.4072, allocations: 19.66 kB / 1.056 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.4072, allocations: 4 kB / 1.056 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4074, allocations: 338.8 kB / 1.056 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4076, allocations: 79.81 kB / 1.056 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4078, allocations: 144.4 kB / 1.056 GB, free: 408 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.4082, allocations: 202.6 kB / 1.057 GB, free: 180 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4082, allocations: 4 kB / 1.057 GB, free: 176 kB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.3934/0.8017, allocations: 248.9 kB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.8018, allocations: 144.6 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8019, allocations: 3.141 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.8019, allocations: 7.812 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.8022, allocations: 48.72 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8022, allocations: 7.641 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.8025, allocations: 23.66 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.8025, allocations: 17.42 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.8025, allocations: 4.469 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005367/0.8031, allocations: 216.4 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.8031, allocations: 1.406 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.8031, allocations: 2.75 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.8033, allocations: 50.09 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8033, allocations: 4.078 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.8035, allocations: 28.44 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.8035, allocations: 15.95 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.8037, allocations: 237.6 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.8038, allocations: 26.72 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.8043, allocations: 209.5 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.8044, allocations: 2.609 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8044, allocations: 0.5938 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8044, allocations: 2.453 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.8047, allocations: 270.7 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8047, allocations: 0.875 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.8048, allocations: 32.78 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8048, allocations: 0 / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.8049, allocations: 4.109 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8049, allocations: 3.281 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8049, allocations: 0.75 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.8053, allocations: 285.3 kB / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.8054, allocations: 110.9 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.8054, allocations: 2.656 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.8055, allocations: 13.67 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.8056, allocations: 12.44 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.8056, allocations: 6.938 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001719/0.8058, allocations: 234.4 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8058, allocations: 3.938 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007042/0.8065, allocations: 179.5 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000561/0.8071, allocations: 396 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005972/0.8077, allocations: 281.2 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8077, allocations: 0 / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.8078, allocations: 68.62 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.8083, allocations: 99.5 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.809, allocations: 0.5205 MB / 1.06 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.8092, allocations: 0.7712 MB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002887/0.8095, allocations: 86.88 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.8096, allocations: 28.34 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8096, allocations: 0 / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of Templates: time 0.0141/0.8237, allocations: 7.899 MB / 1.069 GB, free: 143.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)