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.001179/0.001179, allocations: 105.4 kB / 16.4 MB, free: 6.449 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.001193/0.001193, allocations: 189.2 kB / 17.34 MB, free: 5.719 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.359/1.359, allocations: 222.9 MB / 241 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.6987/0.6987, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 65.23 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 76.19 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002805/0.1398, allocations: 1.606 MB / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.1406, allocations: 339.8 kB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.1407, allocations: 0 / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.217e-05/0.1408, allocations: 11.88 kB / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.894e-05/0.1409, allocations: 15.8 kB / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.1413, allocations: 87.78 kB / 0.6336 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1415, allocations: 107.6 kB / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1416, allocations: 31.92 kB / 0.6337 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.1417, allocations: 35.86 kB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.1418, allocations: 55.81 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1418, allocations: 8 kB / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1419, allocations: 31.98 kB / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.142, allocations: 19.92 kB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.142, allocations: 47.72 kB / 0.6339 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1422, allocations: 110.5 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1422, allocations: 0 / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1422, allocations: 0 / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1422, allocations: 0 / 0.634 GB, free: 2.383 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.0005794/0.1428, allocations: 411.9 kB / 0.6344 GB, free: 1.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1429, allocations: 8.031 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1429, allocations: 42.73 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.1443, allocations: 160.6 kB / 0.6346 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1445, allocations: 176.2 kB / 0.6348 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1445, allocations: 12.31 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1445, allocations: 8.375 kB / 0.6348 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.1452, allocations: 174.1 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1452, allocations: 3.938 kB / 0.635 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1452, allocations: 4 kB / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1452, allocations: 0 / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009064/0.1461, allocations: 191.7 kB / 0.6352 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1474, allocations: 476.3 kB / 0.6356 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1484, allocations: 194.3 kB / 0.6358 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.1488, allocations: 64.84 kB / 0.6359 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1488, allocations: 4 kB / 0.6359 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1489, allocations: 34.5 kB / 0.6359 GB, free: 292 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1489, allocations: 0 / 0.6359 GB, free: 292 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001121/0.15, allocations: 229.2 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.15, allocations: 51.41 kB / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.1503, allocations: 201.7 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1503, allocations: 25.7 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1504, allocations: 103.9 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1504, allocations: 11.84 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.1505, allocations: 29.69 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1506, allocations: 322.8 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.151, allocations: 80.78 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.1515, allocations: 106.5 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/0.1522, allocations: 162.4 kB / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1522, allocations: 0 / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009095/0.1531, allocations: 217.2 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1532, allocations: 9.781 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1532, allocations: 7.938 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1532, allocations: 0 / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1535, allocations: 43.94 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1535, allocations: 4 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.1539, allocations: 35.95 kB / 0.6375 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.154, allocations: 7.984 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002086/0.1542, allocations: 120.1 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001737/0.1544, allocations: 85.89 kB / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002455/0.1546, allocations: 101.9 kB / 0.6378 GB, free: 14.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.1546, allocations: 0 / 0.6378 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004106/0.155, allocations: 141.5 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.1551, allocations: 4 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1551, allocations: 4 kB / 0.6379 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/0.1551, allocations: 7.875 kB / 0.6379 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1552, allocations: 23.97 kB / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.1552, allocations: 7.938 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.1555, allocations: 31.88 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1555, allocations: 8 kB / 0.638 GB, free: 14.02 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 9.37e-05/0.1556, allocations: 180.3 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1556, allocations: 7.906 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.1557, allocations: 20.12 kB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1557, allocations: 0 / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1557, allocations: 0 / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1557, allocations: 7.984 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.156, allocations: 205.5 kB / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.156, allocations: 0 / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.1562, allocations: 36 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1562, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1562, allocations: 7.938 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1562, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.1562, allocations: 8 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.157, allocations: 251.3 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.1571, allocations: 96.98 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.1571, allocations: 3.938 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.1574, allocations: 27.97 kB / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1575, allocations: 3.984 kB / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1575, allocations: 4 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.1577, allocations: 146.5 kB / 0.6389 GB, free: 12.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1577, allocations: 0 / 0.6389 GB, free: 12.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003472/0.158, allocations: 40 kB / 0.639 GB, free: 12.89 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.001001/0.159, allocations: 0.7933 MB / 0.6398 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.16, allocations: 219.7 kB / 0.64 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.16, allocations: 0 / 0.64 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.1604, allocations: 64.42 kB / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1607, allocations: 14.22 kB / 0.64 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.1646, allocations: 1.921 MB / 0.6419 GB, free: 9.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1648, allocations: 0.6963 MB / 0.6426 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1649, allocations: 20 kB / 0.6426 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.342e-05/0.165, allocations: 35.41 kB / 0.6427 GB, free: 9 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1651, allocations: 0 / 0.6427 GB, free: 9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.185, allocations: 3.061 MB / 0.6456 GB, free: 6.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.438, allocations: 8.828 kB / 0.6457 GB, free: 6.027 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)