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: "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105.1 kB / 16.4 MB, free: 6.438 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.001259/0.001259, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.16 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1612, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002989/0.1643, allocations: 1.615 MB / 0.6332 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.1651, allocations: 339.8 kB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.1652, allocations: 0 / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.1653, allocations: 11.86 kB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1654, allocations: 15.81 kB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1658, allocations: 83.78 kB / 0.6336 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.166, allocations: 115.6 kB / 0.6337 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1661, allocations: 27.98 kB / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.1662, allocations: 35.86 kB / 0.6338 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.1663, allocations: 43.83 kB / 0.6338 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1664, allocations: 12 kB / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1665, allocations: 39.97 kB / 0.6339 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.1665, allocations: 19.92 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.1666, allocations: 47.72 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1668, allocations: 110.5 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1668, allocations: 0 / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1668, allocations: 0 / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1668, allocations: 0 / 0.634 GB, free: 2.414 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.0006294/0.1674, allocations: 403.9 kB / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1675, allocations: 16.03 kB / 0.6344 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.1675, allocations: 42.69 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.1689, allocations: 160.6 kB / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.169, allocations: 176.2 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1691, allocations: 4.375 kB / 0.6348 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.1691, allocations: 12.38 kB / 0.6348 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.1697, allocations: 170.1 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1698, allocations: 7.875 kB / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1698, allocations: 0 / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.1698, allocations: 4 kB / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.1707, allocations: 191.6 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.1719, allocations: 484.3 kB / 0.6356 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.173, allocations: 178.4 kB / 0.6358 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.1733, allocations: 64.86 kB / 0.6359 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1734, allocations: 7.984 kB / 0.6359 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1734, allocations: 38.5 kB / 0.6359 GB, free: 328 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1734, allocations: 0 / 0.6359 GB, free: 328 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001181/0.1746, allocations: 229.4 kB / 0.6361 GB, free: 92 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1747, allocations: 51.41 kB / 0.6362 GB, free: 28 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.175, allocations: 189.7 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.175, allocations: 25.7 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.1751, allocations: 107.9 kB / 0.6365 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.1751, allocations: 15.84 kB / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.1752, allocations: 29.69 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1753, allocations: 318.8 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.1758, allocations: 88.77 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.1763, allocations: 98.48 kB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007762/0.1771, allocations: 158.4 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1771, allocations: 0 / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001004/0.1781, allocations: 229.3 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1781, allocations: 5.719 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1781, allocations: 3.938 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1782, allocations: 8.031 kB / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.1785, allocations: 43.94 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1785, allocations: 3.984 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.1789, allocations: 39.95 kB / 0.6375 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1789, allocations: 0 / 0.6375 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002248/0.1792, allocations: 124.1 kB / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002327/0.1794, allocations: 81.91 kB / 0.6377 GB, free: 14.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002684/0.1797, allocations: 105.9 kB / 0.6378 GB, free: 14.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.1797, allocations: 4 kB / 0.6378 GB, free: 14.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004419/0.1801, allocations: 137.3 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1802, allocations: 8.219 kB / 0.6379 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.1802, allocations: 0 / 0.6379 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1802, allocations: 11.92 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.1803, allocations: 19.98 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1804, allocations: 4 kB / 0.6379 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.1806, allocations: 27.81 kB / 0.638 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1806, allocations: 8 kB / 0.638 GB, free: 14.06 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.0001039/0.1807, allocations: 184.2 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.1808, allocations: 11.84 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.1808, allocations: 24.11 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1809, allocations: 0 / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1809, allocations: 0 / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1809, allocations: 4 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.1811, allocations: 205.6 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1811, allocations: 0 / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1813, allocations: 27.95 kB / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1814, allocations: 4 kB / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1814, allocations: 11.92 kB / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1814, allocations: 0 / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1814, allocations: 0 / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.1822, allocations: 255.3 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.1823, allocations: 96.98 kB / 0.6388 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.1823, allocations: 3.938 kB / 0.6388 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.1826, allocations: 27.95 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1827, allocations: 4 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1827, allocations: 11.98 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.1829, allocations: 146.5 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1829, allocations: 4 kB / 0.639 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.1833, allocations: 36 kB / 0.639 GB, free: 12.93 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.001078/0.1844, allocations: 0.7903 MB / 0.6398 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1854, allocations: 207.8 kB / 0.64 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1854, allocations: 0 / 0.64 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.1858, allocations: 72.3 kB / 0.64 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1861, allocations: 8 kB / 0.64 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.1903, allocations: 1.922 MB / 0.6419 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1906, allocations: 0.6885 MB / 0.6426 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1907, allocations: 32.16 kB / 0.6426 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.1908, allocations: 31.41 kB / 0.6426 GB, free: 9.035 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1908, allocations: 0 / 0.6426 GB, free: 9.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.2108, allocations: 3.072 MB / 0.6456 GB, free: 6.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.513, allocations: 4.062 kB / 0.6456 GB, free: 6.059 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)