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.006404/0.006404, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001363/0.001363, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.493/1.493, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.583/1.583, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001465/0.001465, allocations: 71.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002775/0.246, allocations: 1.621 MB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.2467, allocations: 302.8 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.2468, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.2468, allocations: 15.86 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.113e-05/0.247, allocations: 15.86 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.2473, allocations: 71.8 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.2475, allocations: 111.5 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2476, allocations: 39.92 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.188e-05/0.2477, allocations: 39.84 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.2478, allocations: 43.83 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2479, allocations: 8 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.248, allocations: 23.98 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.248, allocations: 19.92 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.2481, allocations: 43.73 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.2483, allocations: 103.5 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2483, allocations: 0 / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2483, allocations: 0 / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2483, allocations: 7.938 kB / 0.8304 GB, free: 13.75 MB / 0.6544 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.000612/0.2489, allocations: 399 kB / 0.8308 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.249, allocations: 15.97 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.25, allocations: 124.7 kB / 0.8309 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2501, allocations: 184.2 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2502, allocations: 8.375 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.2502, allocations: 4.375 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.2508, allocations: 154 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2508, allocations: 192 / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.2508, allocations: 7.938 kB / 0.8313 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2508, allocations: 0 / 0.8313 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.2516, allocations: 155.8 kB / 0.8314 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2526, allocations: 452.4 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006988/0.2534, allocations: 138.4 kB / 0.832 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.2537, allocations: 76.86 kB / 0.8321 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2538, allocations: 0 / 0.8321 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.2538, allocations: 34.55 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.2538, allocations: 4 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.00122/0.255, allocations: 245.4 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2551, allocations: 55.34 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2552, allocations: 160.9 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2553, allocations: 25.7 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.2553, allocations: 100.1 kB / 0.8327 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.2554, allocations: 23.78 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.2554, allocations: 29.7 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2556, allocations: 318.8 kB / 0.833 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.256, allocations: 76.78 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.2563, allocations: 67.92 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.257, allocations: 132.7 kB / 0.8333 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2571, allocations: 0 / 0.8333 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008099/0.2579, allocations: 189.7 kB / 0.8335 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2579, allocations: 8 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2579, allocations: 0 / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2579, allocations: 4 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2582, allocations: 43.88 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2582, allocations: 4 kB / 0.8335 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2585, allocations: 31.86 kB / 0.8336 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.2585, allocations: 0 / 0.8336 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001432/0.2586, allocations: 113.9 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001212/0.2588, allocations: 56.52 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001865/0.2589, allocations: 84.19 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.259, allocations: 160 / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002613/0.2592, allocations: 121.4 kB / 0.8339 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.2592, allocations: 4 kB / 0.8339 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.2592, allocations: 0 / 0.8339 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/0.2593, allocations: 4 kB / 0.8339 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.2593, allocations: 15.98 kB / 0.8339 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2594, allocations: 15.86 kB / 0.8339 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.2594, allocations: 8.156 kB / 0.834 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2594, allocations: 4 kB / 0.834 GB, free: 9.863 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.941e-05/0.2595, allocations: 184.2 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.2596, allocations: 11.91 kB / 0.8341 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.2596, allocations: 16.3 kB / 0.8342 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2597, allocations: 3.938 kB / 0.8342 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2597, allocations: 0 / 0.8342 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2597, allocations: 4 kB / 0.8342 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2608, allocations: 476 kB / 0.8346 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2608, allocations: 3.938 kB / 0.8346 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.261, allocations: 36.02 kB / 0.8347 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.261, allocations: 0 / 0.8347 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2611, allocations: 11.98 kB / 0.8347 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2611, allocations: 3.938 kB / 0.8347 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2611, allocations: 0 / 0.8347 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.2619, allocations: 281.1 kB / 0.8349 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.262, allocations: 104.9 kB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.262, allocations: 0 / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.2623, allocations: 24.03 kB / 0.8351 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2623, allocations: 15.98 kB / 0.8351 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2624, allocations: 4 kB / 0.8351 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001026/0.2625, allocations: 115.2 kB / 0.8352 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2625, allocations: 3.938 kB / 0.8352 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003277/0.2628, allocations: 32 kB / 0.8352 GB, free: 8.445 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.263, allocations: 99.25 kB / 0.8353 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009434/0.2639, allocations: 183.8 kB / 0.8355 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2639, allocations: 320 / 0.8355 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.2643, allocations: 79.84 kB / 0.8356 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2647, allocations: 15.94 kB / 0.8356 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2658, allocations: 277.3 kB / 0.8359 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2661, allocations: 0.7078 MB / 0.8365 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.618e-05/0.2662, allocations: 12 kB / 0.8366 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.2663, allocations: 23.41 kB / 0.8366 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.2663, allocations: 0 / 0.8366 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of Templates: time 0.00402/0.2704, allocations: 1.443 MB / 0.838 GB, free: 5.559 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (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)