Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 99.55 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.002423/0.002423, allocations: 177.3 kB / 15.94 MB, free: 228 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.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 251.9 MB / 0.51 GB, free: 4.867 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005538/0.0005538, allocations: 12 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5539, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001704/0.5557, allocations: 1.304 MB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000577/0.5563, allocations: 284.2 kB / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.5563, allocations: 4 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.5564, allocations: 7.922 kB / 0.7295 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.5564, allocations: 15.91 kB / 0.7295 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.5567, allocations: 59.86 kB / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.5568, allocations: 67.72 kB / 0.7297 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.5569, allocations: 23.98 kB / 0.7297 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.557, allocations: 31.84 kB / 0.7297 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.5571, allocations: 35.84 kB / 0.7298 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.5571, allocations: 4 kB / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.5572, allocations: 19.98 kB / 0.7298 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.5572, allocations: 23.91 kB / 0.7298 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.5573, allocations: 33.7 kB / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.5574, allocations: 61.8 kB / 0.7299 GB, free: 9.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5574, allocations: 0 / 0.7299 GB, free: 9.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5574, allocations: 3.938 kB / 0.7299 GB, free: 9.477 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5574, allocations: 0 / 0.7299 GB, free: 9.477 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005575/0.558, allocations: 402.9 kB / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.558, allocations: 12.03 kB / 0.7303 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.559, allocations: 135.7 kB / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.5592, allocations: 178.9 kB / 0.7306 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.5592, allocations: 8 kB / 0.7306 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.5593, allocations: 4 kB / 0.7306 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.5598, allocations: 167.6 kB / 0.7308 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5599, allocations: 3.984 kB / 0.7308 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.5599, allocations: 4 kB / 0.7308 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.5599, allocations: 0 / 0.7308 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.5607, allocations: 179.8 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.5618, allocations: 448.4 kB / 0.7314 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.5625, allocations: 162.4 kB / 0.7315 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5625, allocations: 0 / 0.7315 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.5626, allocations: 34.56 kB / 0.7316 GB, free: 7.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.5626, allocations: 0 / 0.7316 GB, free: 7.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001236/0.5638, allocations: 273.5 kB / 0.7318 GB, free: 7.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.5639, allocations: 55.34 kB / 0.7319 GB, free: 7.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.564, allocations: 160.7 kB / 0.732 GB, free: 7.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.5641, allocations: 29.7 kB / 0.7321 GB, free: 7.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.5641, allocations: 108 kB / 0.7322 GB, free: 6.965 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.5642, allocations: 11.81 kB / 0.7322 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.5642, allocations: 0 / 0.7322 GB, free: 6.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5643, allocations: 322.8 kB / 0.7325 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.5647, allocations: 79.92 kB / 0.7325 GB, free: 6.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.565, allocations: 83.92 kB / 0.7326 GB, free: 6.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.5654, allocations: 71.94 kB / 0.7327 GB, free: 6.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5654, allocations: 3.953 kB / 0.7327 GB, free: 6.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008262/0.5663, allocations: 217.6 kB / 0.7329 GB, free: 6.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.5664, allocations: 89 kB / 0.733 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5664, allocations: 3.938 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5664, allocations: 0 / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.5667, allocations: 51.89 kB / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5667, allocations: 0 / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.5669, allocations: 35.81 kB / 0.7331 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.567, allocations: 3.984 kB / 0.7331 GB, free: 5.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.567, allocations: 4 kB / 0.7331 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002152/0.5672, allocations: 75.94 kB / 0.7332 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.5672, allocations: 3.953 kB / 0.7332 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-06/0.5672, allocations: 0 / 0.7332 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.5673, allocations: 24.17 kB / 0.7332 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.5673, allocations: 4 kB / 0.7332 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.5674, allocations: 27.83 kB / 0.7332 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.5674, allocations: 0 / 0.7332 GB, free: 5.852 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001717/0.5676, allocations: 192.2 kB / 0.7334 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.5676, allocations: 7.906 kB / 0.7334 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.5677, allocations: 16.27 kB / 0.7334 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5677, allocations: 4 kB / 0.7334 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5677, allocations: 0 / 0.7334 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5678, allocations: 4 kB / 0.7334 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.569, allocations: 499.9 kB / 0.7339 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.569, allocations: 0 / 0.7339 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.5692, allocations: 48.02 kB / 0.734 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5692, allocations: 0 / 0.734 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5692, allocations: 3.984 kB / 0.734 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5692, allocations: 4 kB / 0.734 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5693, allocations: 3.938 kB / 0.734 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.5701, allocations: 340.3 kB / 0.7343 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.5702, allocations: 93 kB / 0.7344 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.5702, allocations: 3.984 kB / 0.7344 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.5704, allocations: 31.97 kB / 0.7344 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.5705, allocations: 0 / 0.7344 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.5705, allocations: 7.984 kB / 0.7344 GB, free: 4.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.5706, allocations: 121.3 kB / 0.7345 GB, free: 4.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5706, allocations: 3.938 kB / 0.7345 GB, free: 4.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002991/0.5709, allocations: 28 kB / 0.7346 GB, free: 4.344 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.000121/0.571, allocations: 103.1 kB / 0.7347 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008853/0.5719, allocations: 211.8 kB / 0.7349 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5719, allocations: 3.938 kB / 0.7349 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.5723, allocations: 84.05 kB / 0.735 GB, free: 3.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.5726, allocations: 12 kB / 0.735 GB, free: 3.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/0.5736, allocations: 320.7 kB / 0.7353 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.5739, allocations: 0.6965 MB / 0.7359 GB, free: 2.863 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.002e-05/0.574, allocations: 12 kB / 0.736 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.5741, allocations: 19.41 kB / 0.736 GB, free: 2.832 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.5741, allocations: 0 / 0.736 GB, free: 2.832 MB / 0.545 GB Notification: Performance of Templates: time 0.003816/0.5779, allocations: 1.271 MB / 0.7372 GB, free: 1.566 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) Environment - environmentSimulation: