Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001358/0.001358, allocations: 119.6 kB / 17.09 MB, free: 5.965 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.001298/0.001298, allocations: 198 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7438/0.7438, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 62.62 kB / 0.5583 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1634, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003161/0.1666, allocations: 1.605 MB / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.1674, allocations: 333.7 kB / 0.6346 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.1675, allocations: 8 kB / 0.6346 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.1676, allocations: 11.86 kB / 0.6346 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.1677, allocations: 15.8 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1681, allocations: 83.78 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1683, allocations: 111.6 kB / 0.6348 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1685, allocations: 35.97 kB / 0.6349 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.344e-05/0.1686, allocations: 35.92 kB / 0.6349 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.1686, allocations: 43.78 kB / 0.6349 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1687, allocations: 8 kB / 0.635 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1688, allocations: 39.95 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.1688, allocations: 19.92 kB / 0.635 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.1689, allocations: 43.73 kB / 0.6351 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1691, allocations: 119.5 kB / 0.6352 GB, free: 1.895 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1691, allocations: 0 / 0.6352 GB, free: 1.895 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1691, allocations: 4 kB / 0.6352 GB, free: 1.891 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1691, allocations: 0 / 0.6352 GB, free: 1.891 MB / 478.1 MB 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.000636/0.1698, allocations: 407.1 kB / 0.6356 GB, free: 1.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1698, allocations: 8.031 kB / 0.6356 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.1712, allocations: 168.6 kB / 0.6357 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1714, allocations: 176.2 kB / 0.6359 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1714, allocations: 4.375 kB / 0.6359 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.1715, allocations: 8.375 kB / 0.6359 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.1721, allocations: 174 kB / 0.6361 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1721, allocations: 4.188 kB / 0.6361 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1722, allocations: 3.938 kB / 0.6361 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1722, allocations: 4 kB / 0.6361 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.1731, allocations: 179.8 kB / 0.6363 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1744, allocations: 484.3 kB / 0.6367 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1755, allocations: 186.4 kB / 0.6369 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.1759, allocations: 64.86 kB / 0.637 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1759, allocations: 4 kB / 0.637 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.176, allocations: 30.56 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.176, allocations: 0 / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001203/0.1772, allocations: 237.1 kB / 0.6372 GB, free: 15.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1772, allocations: 55.39 kB / 0.6373 GB, free: 15.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1775, allocations: 193.6 kB / 0.6375 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1775, allocations: 29.7 kB / 0.6375 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.1776, allocations: 107.9 kB / 0.6376 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1777, allocations: 15.84 kB / 0.6376 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.1777, allocations: 29.69 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1779, allocations: 318.8 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.1783, allocations: 84.78 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.1788, allocations: 106.5 kB / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.1796, allocations: 158.4 kB / 0.6383 GB, free: 14.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1796, allocations: 0 / 0.6383 GB, free: 14.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009925/0.1806, allocations: 221.4 kB / 0.6385 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1807, allocations: 7.938 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1807, allocations: 0 / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1807, allocations: 3.938 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.181, allocations: 43.94 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.181, allocations: 4 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.1814, allocations: 39.86 kB / 0.6386 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1815, allocations: 7.984 kB / 0.6386 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002363/0.1817, allocations: 132 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001886/0.1819, allocations: 69.98 kB / 0.6388 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002837/0.1822, allocations: 109.9 kB / 0.6389 GB, free: 13.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.1822, allocations: 0 / 0.6389 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004577/0.1827, allocations: 137.4 kB / 0.639 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.1827, allocations: 8 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/0.1827, allocations: 0 / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.1827, allocations: 4 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1829, allocations: 27.91 kB / 0.639 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1829, allocations: 4 kB / 0.6391 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1831, allocations: 31.94 kB / 0.6391 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1831, allocations: 4 kB / 0.6391 GB, free: 13.58 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001142/0.1833, allocations: 184.2 kB / 0.6393 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.1833, allocations: 7.969 kB / 0.6393 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.1834, allocations: 24.17 kB / 0.6393 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1834, allocations: 4 kB / 0.6393 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1834, allocations: 0 / 0.6393 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1834, allocations: 0 / 0.6393 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.1837, allocations: 209.5 kB / 0.6395 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1837, allocations: 0 / 0.6395 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1839, allocations: 27.95 kB / 0.6395 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1839, allocations: 4 kB / 0.6395 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1839, allocations: 7.938 kB / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1839, allocations: 0 / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1839, allocations: 3.984 kB / 0.6395 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.1847, allocations: 247.3 kB / 0.6398 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.1848, allocations: 108.9 kB / 0.6399 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1849, allocations: 7.938 kB / 0.6399 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.1852, allocations: 19.97 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1852, allocations: 7.984 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1852, allocations: 0 / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1855, allocations: 154.5 kB / 0.6401 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1855, allocations: 0 / 0.6401 GB, free: 12.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1858, allocations: 36 kB / 0.6401 GB, free: 12.45 MB / 494.1 MB 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 (3): * Single equations (assignments): 3 * 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.0001234/0.186, allocations: 95.25 kB / 0.6402 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1871, allocations: 211.6 kB / 0.6404 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1871, allocations: 0.5625 kB / 0.6404 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.1874, allocations: 67.92 kB / 0.6405 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1878, allocations: 13.56 kB / 0.6405 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.1888, allocations: 274.8 kB / 0.6407 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1891, allocations: 0.6963 MB / 0.6414 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.1892, allocations: 23.41 kB / 0.6414 GB, free: 11.02 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1892, allocations: 0 / 0.6414 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Templates: time 0.003613/0.1928, allocations: 1.715 MB / 0.6431 GB, free: 9.309 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)