Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001343/0.001343, allocations: 183.2 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-master/package.mo): time 0.6939/0.6939, allocations: 133.3 MB / 150.1 MB, free: 11.2 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.375/1.375, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.001042/0.001042, allocations: 111.5 kB / 485.9 MB, free: 7.273 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009519/0.000952, allocations: 55.91 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1275, allocations: 80.42 MB / 0.6421 GB, free: 5.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00273/0.1303, allocations: 1.663 MB / 0.6438 GB, free: 3.809 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.1309, allocations: 312 kB / 0.6441 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.131, allocations: 3.938 kB / 0.6441 GB, free: 3.496 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.131, allocations: 7.938 kB / 0.6441 GB, free: 3.488 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.1311, allocations: 19.84 kB / 0.6441 GB, free: 3.469 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1314, allocations: 55.89 kB / 0.6441 GB, free: 3.414 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1315, allocations: 103.7 kB / 0.6442 GB, free: 3.312 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1316, allocations: 39.91 kB / 0.6443 GB, free: 3.273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.1317, allocations: 27.92 kB / 0.6443 GB, free: 3.246 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.1318, allocations: 47.77 kB / 0.6444 GB, free: 3.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1318, allocations: 4 kB / 0.6444 GB, free: 3.195 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-05/0.1319, allocations: 27.97 kB / 0.6444 GB, free: 3.168 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.1319, allocations: 11.92 kB / 0.6444 GB, free: 3.156 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.1319, allocations: 35.81 kB / 0.6444 GB, free: 3.121 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1321, allocations: 99.89 kB / 0.6445 GB, free: 3.023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1321, allocations: 0 / 0.6445 GB, free: 3.023 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1321, allocations: 0 / 0.6445 GB, free: 3.023 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1321, allocations: 0 / 0.6445 GB, free: 3.023 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.0005352/0.1327, allocations: 411.2 kB / 0.6449 GB, free: 2.574 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1327, allocations: 8.031 kB / 0.6449 GB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009285/0.1336, allocations: 120.7 kB / 0.645 GB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1338, allocations: 180.2 kB / 0.6452 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1338, allocations: 8.375 kB / 0.6452 GB, free: 2.227 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1338, allocations: 4.375 kB / 0.6452 GB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.1343, allocations: 158.8 kB / 0.6454 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1344, allocations: 0 / 0.6454 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1344, allocations: 4 kB / 0.6454 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1344, allocations: 0 / 0.6454 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.1352, allocations: 155.8 kB / 0.6455 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.1361, allocations: 448.3 kB / 0.646 GB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.1369, allocations: 146.3 kB / 0.6461 GB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1372, allocations: 76.91 kB / 0.6462 GB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1373, allocations: 0 / 0.6462 GB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1373, allocations: 30.56 kB / 0.6462 GB, free: 1.148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1373, allocations: 4 kB / 0.6462 GB, free: 1.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.001208/0.1385, allocations: 245.3 kB / 0.6464 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1386, allocations: 51.41 kB / 0.6465 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1387, allocations: 166.2 kB / 0.6466 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1388, allocations: 25.7 kB / 0.6467 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.1389, allocations: 104 kB / 0.6468 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1389, allocations: 15.75 kB / 0.6468 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.1389, allocations: 29.7 kB / 0.6468 GB, free: 488 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1391, allocations: 322.8 kB / 0.6471 GB, free: 156 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.1395, allocations: 76.78 kB / 0.6472 GB, free: 76 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.1398, allocations: 63.92 kB / 0.6473 GB, free: 12 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.1406, allocations: 141 kB / 0.6474 GB, free: 15.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1406, allocations: 0 / 0.6474 GB, free: 15.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000781/0.1414, allocations: 185.4 kB / 0.6476 GB, free: 15.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1414, allocations: 8 kB / 0.6476 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1414, allocations: 3.938 kB / 0.6476 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1414, allocations: 0 / 0.6476 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.1417, allocations: 43.88 kB / 0.6476 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1417, allocations: 4 kB / 0.6476 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.1419, allocations: 27.91 kB / 0.6476 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.142, allocations: 7.984 kB / 0.6477 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001476/0.1421, allocations: 104.1 kB / 0.6478 GB, free: 15.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001194/0.1423, allocations: 60.27 kB / 0.6478 GB, free: 15.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001834/0.1424, allocations: 80.2 kB / 0.6479 GB, free: 15.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.1425, allocations: 0 / 0.6479 GB, free: 15.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002527/0.1427, allocations: 113.4 kB / 0.648 GB, free: 15.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.1427, allocations: 4 kB / 0.648 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.1427, allocations: 0 / 0.648 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.1428, allocations: 7.938 kB / 0.648 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.1428, allocations: 15.98 kB / 0.648 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1429, allocations: 7.938 kB / 0.648 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.1429, allocations: 12.06 kB / 0.648 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1429, allocations: 4.391 kB / 0.648 GB, free: 15.15 MB / 458.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 0.000122/0.1431, allocations: 188.2 kB / 0.6482 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1431, allocations: 7.906 kB / 0.6482 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.1432, allocations: 16.25 kB / 0.6482 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1432, allocations: 0 / 0.6482 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1432, allocations: 0 / 0.6482 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1432, allocations: 7.938 kB / 0.6483 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1444, allocations: 483.9 kB / 0.6487 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1444, allocations: 0 / 0.6487 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.1446, allocations: 36.02 kB / 0.6488 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1446, allocations: 48 / 0.6488 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.1447, allocations: 15.97 kB / 0.6488 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1447, allocations: 0 / 0.6488 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1447, allocations: 0 / 0.6488 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.1461, allocations: 0.9206 MB / 0.6497 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.1462, allocations: 97 kB / 0.6498 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1462, allocations: 4 kB / 0.6498 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.1465, allocations: 31.97 kB / 0.6498 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.1465, allocations: 7.922 kB / 0.6498 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1465, allocations: 4 kB / 0.6498 GB, free: 13.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.84e-05/0.1466, allocations: 121.7 kB / 0.6499 GB, free: 13.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1466, allocations: 0 / 0.6499 GB, free: 13.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005285/0.1472, allocations: 31.91 kB / 0.65 GB, free: 13.05 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.000116/0.1473, allocations: 99.25 kB / 0.65 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000912/0.1482, allocations: 187.7 kB / 0.6502 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1482, allocations: 0 / 0.6502 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.1486, allocations: 80.28 kB / 0.6503 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.149, allocations: 10.58 kB / 0.6503 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1501, allocations: 426.4 kB / 0.6507 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1503, allocations: 0.6965 MB / 0.6514 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.325e-05/0.1504, allocations: 12 kB / 0.6514 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.1505, allocations: 23.41 kB / 0.6514 GB, free: 11.45 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1505, allocations: 0 / 0.6514 GB, free: 11.45 MB / 458.7 MB Notification: Performance of Templates: time 0.003256/0.1538, allocations: 1.363 MB / 0.6528 GB, free: 10.09 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)