Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7048/0.7048, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 403.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 107 kB / 484.4 MB, free: 8.668 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 59.92 kB / 0.5619 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1451, allocations: 80.21 MB / 0.6402 GB, free: 6.738 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002934/0.1481, allocations: 1.651 MB / 0.6418 GB, free: 5.066 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000677/0.1488, allocations: 323.9 kB / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.1489, allocations: 0 / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.1489, allocations: 3.938 kB / 0.6421 GB, free: 4.742 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.149, allocations: 19.84 kB / 0.6421 GB, free: 4.723 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1493, allocations: 55.89 kB / 0.6422 GB, free: 4.668 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1495, allocations: 103.6 kB / 0.6423 GB, free: 4.566 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1496, allocations: 35.97 kB / 0.6423 GB, free: 4.531 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.1497, allocations: 27.92 kB / 0.6423 GB, free: 4.504 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.1498, allocations: 43.78 kB / 0.6424 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1498, allocations: 4 kB / 0.6424 GB, free: 4.457 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.1499, allocations: 27.97 kB / 0.6424 GB, free: 4.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.1499, allocations: 19.91 kB / 0.6424 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.15, allocations: 39.8 kB / 0.6425 GB, free: 4.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1501, allocations: 91.91 kB / 0.6426 GB, free: 4.281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1501, allocations: 4 kB / 0.6426 GB, free: 4.277 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1501, allocations: 0 / 0.6426 GB, free: 4.277 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1501, allocations: 0 / 0.6426 GB, free: 4.277 MB / 442.7 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.0006295/0.1508, allocations: 407.2 kB / 0.6429 GB, free: 3.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1508, allocations: 8.031 kB / 0.643 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1519, allocations: 120.7 kB / 0.6431 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.152, allocations: 176.2 kB / 0.6432 GB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1521, allocations: 8.375 kB / 0.6432 GB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1521, allocations: 4.375 kB / 0.6432 GB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.1527, allocations: 162.8 kB / 0.6434 GB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1527, allocations: 0 / 0.6434 GB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1527, allocations: 4 kB / 0.6434 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1527, allocations: 8 kB / 0.6434 GB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.1535, allocations: 151.8 kB / 0.6436 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1545, allocations: 448.3 kB / 0.644 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.1552, allocations: 142.4 kB / 0.6441 GB, free: 2.523 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.1556, allocations: 76.84 kB / 0.6442 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1557, allocations: 4 kB / 0.6442 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1557, allocations: 34.55 kB / 0.6442 GB, free: 2.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1557, allocations: 4 kB / 0.6442 GB, free: 2.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.001242/0.1569, allocations: 245.2 kB / 0.6445 GB, free: 2.148 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.157, allocations: 51.41 kB / 0.6445 GB, free: 2.086 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1571, allocations: 167.6 kB / 0.6447 GB, free: 1.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1572, allocations: 25.7 kB / 0.6447 GB, free: 1.883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1572, allocations: 104 kB / 0.6448 GB, free: 1.777 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1573, allocations: 15.81 kB / 0.6448 GB, free: 1.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.1573, allocations: 25.69 kB / 0.6448 GB, free: 1.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.1574, allocations: 318.8 kB / 0.6451 GB, free: 1.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.1578, allocations: 80.72 kB / 0.6452 GB, free: 1.328 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.1582, allocations: 75.89 kB / 0.6453 GB, free: 1.254 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.1589, allocations: 132.7 kB / 0.6454 GB, free: 1.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1589, allocations: 0 / 0.6454 GB, free: 1.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007934/0.1597, allocations: 189.4 kB / 0.6456 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1597, allocations: 4 kB / 0.6456 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1597, allocations: 7.922 kB / 0.6456 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1598, allocations: 0 / 0.6456 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.1601, allocations: 47.89 kB / 0.6457 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1601, allocations: 0 / 0.6457 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.1603, allocations: 23.91 kB / 0.6457 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1603, allocations: 7.984 kB / 0.6457 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001529/0.1605, allocations: 108.1 kB / 0.6458 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001081/0.1606, allocations: 60.27 kB / 0.6459 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001868/0.1608, allocations: 80.2 kB / 0.6459 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.1608, allocations: 0 / 0.6459 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002506/0.1611, allocations: 109.4 kB / 0.646 GB, free: 460 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.1611, allocations: 4 kB / 0.646 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.1611, allocations: 4 kB / 0.646 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/0.1611, allocations: 4.094 kB / 0.646 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.1612, allocations: 27.92 kB / 0.6461 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.1612, allocations: 0 / 0.6461 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.1613, allocations: 7.906 kB / 0.6461 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.1613, allocations: 7.984 kB / 0.6461 GB, free: 404 kB / 442.7 MB 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 8.157e-05/0.1614, allocations: 185.5 kB / 0.6463 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1614, allocations: 7.906 kB / 0.6463 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.1615, allocations: 20.25 kB / 0.6463 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1615, allocations: 256 / 0.6463 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1615, allocations: 4 kB / 0.6463 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1615, allocations: 4 kB / 0.6463 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1626, allocations: 479.9 kB / 0.6468 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1626, allocations: 0 / 0.6468 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.1629, allocations: 31.95 kB / 0.6468 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1629, allocations: 4 kB / 0.6468 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1629, allocations: 11.92 kB / 0.6468 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1629, allocations: 0 / 0.6468 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1629, allocations: 4 kB / 0.6468 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.1644, allocations: 0.9167 MB / 0.6477 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1645, allocations: 93 kB / 0.6478 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1645, allocations: 4 kB / 0.6478 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.1647, allocations: 27.97 kB / 0.6478 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1648, allocations: 15.86 kB / 0.6478 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1648, allocations: 0 / 0.6478 GB, free: 14.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.168e-05/0.1649, allocations: 121.7 kB / 0.648 GB, free: 14.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1649, allocations: 0 / 0.648 GB, free: 14.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005297/0.1654, allocations: 35.91 kB / 0.648 GB, free: 14.3 MB / 458.7 MB 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.0001169/0.1656, allocations: 99.23 kB / 0.6481 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.1665, allocations: 187.9 kB / 0.6483 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1665, allocations: 0 / 0.6483 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.1669, allocations: 76.09 kB / 0.6483 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1673, allocations: 13.88 kB / 0.6483 GB, free: 13.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1684, allocations: 423.4 kB / 0.6487 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1686, allocations: 0.7004 MB / 0.6494 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.1687, allocations: 8 kB / 0.6494 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.1688, allocations: 27.41 kB / 0.6495 GB, free: 12.7 MB / 458.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1688, allocations: 0 / 0.6495 GB, free: 12.7 MB / 458.7 MB Notification: Performance of Templates: time 0.003392/0.1722, allocations: 1.354 MB / 0.6508 GB, free: 11.35 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)