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.001765/0.001766, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.002123/0.002124, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7607/0.7607, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 65.95 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1672, allocations: 76.19 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002797/0.17, allocations: 1.601 MB / 0.6343 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.1708, allocations: 347.8 kB / 0.6346 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.1708, allocations: 0 / 0.6346 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.1709, allocations: 3.938 kB / 0.6346 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.171, allocations: 23.78 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1713, allocations: 83.78 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1715, allocations: 107.6 kB / 0.6348 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1716, allocations: 31.98 kB / 0.6349 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.1717, allocations: 39.91 kB / 0.6349 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.1718, allocations: 43.78 kB / 0.635 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1718, allocations: 8 kB / 0.635 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.172, allocations: 35.97 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.172, allocations: 23.91 kB / 0.635 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.172, allocations: 47.73 kB / 0.6351 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1722, allocations: 115.5 kB / 0.6352 GB, free: 1.898 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1722, allocations: 0 / 0.6352 GB, free: 1.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1722, allocations: 0 / 0.6352 GB, free: 1.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1722, allocations: 0 / 0.6352 GB, free: 1.898 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.0005956/0.1728, allocations: 407.1 kB / 0.6356 GB, free: 1.449 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1729, allocations: 8.031 kB / 0.6356 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.1743, allocations: 164.6 kB / 0.6357 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1744, allocations: 184.2 kB / 0.6359 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1744, allocations: 384 / 0.6359 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1745, allocations: 12.38 kB / 0.6359 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.1751, allocations: 171.9 kB / 0.6361 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1751, allocations: 4.188 kB / 0.6361 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1752, allocations: 3.938 kB / 0.6361 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1752, allocations: 0 / 0.6361 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.1761, allocations: 187.8 kB / 0.6363 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1773, allocations: 480.3 kB / 0.6367 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1785, allocations: 182.4 kB / 0.6369 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.1789, allocations: 68.84 kB / 0.637 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1789, allocations: 0 / 0.637 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1789, allocations: 30.56 kB / 0.637 GB, free: 15.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1789, allocations: 4 kB / 0.637 GB, free: 15.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001202/0.1801, allocations: 233.3 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1802, allocations: 51.41 kB / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.1805, allocations: 197.6 kB / 0.6375 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1805, allocations: 25.7 kB / 0.6375 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.1806, allocations: 111.9 kB / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1806, allocations: 11.84 kB / 0.6376 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.1807, allocations: 33.69 kB / 0.6376 GB, free: 15.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1808, allocations: 322.8 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.1813, allocations: 84.77 kB / 0.638 GB, free: 14.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.1818, allocations: 102.5 kB / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.1826, allocations: 162.4 kB / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1826, allocations: 0 / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001026/0.1836, allocations: 213.4 kB / 0.6385 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1837, allocations: 11.94 kB / 0.6385 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.1837, allocations: 3.984 kB / 0.6385 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1837, allocations: 3.938 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.184, allocations: 47.94 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1841, allocations: 11.92 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.1845, allocations: 39.86 kB / 0.6386 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1845, allocations: 4 kB / 0.6386 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002343/0.1847, allocations: 120.1 kB / 0.6387 GB, free: 14.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001941/0.1849, allocations: 77.98 kB / 0.6388 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002745/0.1852, allocations: 101.9 kB / 0.6389 GB, free: 13.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.1852, allocations: 4 kB / 0.6389 GB, free: 13.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004338/0.1857, allocations: 137.3 kB / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.1857, allocations: 8 kB / 0.639 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.1857, allocations: 0 / 0.639 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.1857, allocations: 7.984 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1859, allocations: 28.14 kB / 0.6391 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.1859, allocations: 0 / 0.6391 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.1861, allocations: 27.81 kB / 0.6391 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1861, allocations: 4 kB / 0.6391 GB, free: 13.59 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.0001116/0.1863, allocations: 188.2 kB / 0.6393 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1863, allocations: 11.91 kB / 0.6393 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.1864, allocations: 20.17 kB / 0.6393 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1864, allocations: 0 / 0.6393 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1864, allocations: 0 / 0.6393 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1864, allocations: 0 / 0.6393 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.1866, allocations: 209.5 kB / 0.6395 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1866, allocations: 0 / 0.6395 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1869, allocations: 31.95 kB / 0.6395 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1869, allocations: 0 / 0.6395 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1869, allocations: 19.98 kB / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1869, allocations: 0 / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1869, allocations: 0 / 0.6395 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.1878, allocations: 255.2 kB / 0.6398 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.1879, allocations: 96.98 kB / 0.6399 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1879, allocations: 3.938 kB / 0.6399 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.1882, allocations: 31.95 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1883, allocations: 0 / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1883, allocations: 11.98 kB / 0.6399 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1885, allocations: 138.5 kB / 0.6401 GB, free: 12.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1885, allocations: 0 / 0.6401 GB, free: 12.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.1888, allocations: 40 kB / 0.6401 GB, free: 12.46 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.0001263/0.189, allocations: 95.25 kB / 0.6402 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.19, allocations: 215.9 kB / 0.6404 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1901, allocations: 0 / 0.6404 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.1904, allocations: 68.17 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.0003456/0.1908, allocations: 12 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.0009298/0.1917, allocations: 268.7 kB / 0.6407 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.192, allocations: 0.6885 MB / 0.6414 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.1921, allocations: 23.41 kB / 0.6414 GB, free: 11.04 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1921, allocations: 4 kB / 0.6414 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Templates: time 0.003134/0.1953, allocations: 1.717 MB / 0.6431 GB, free: 9.32 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)