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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008571, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009077/0.0009081, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.82/0.82, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 9.094 kB / 0.5068 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 82.32 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001422/0.1406, allocations: 1.28 MB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004672/0.1411, allocations: 292.2 kB / 0.5887 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.1412, allocations: 0 / 0.5887 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.1412, allocations: 7.922 kB / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.1413, allocations: 23.91 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1415, allocations: 55.86 kB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.1416, allocations: 63.86 kB / 0.5889 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.1417, allocations: 31.95 kB / 0.5889 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.847e-05/0.1417, allocations: 23.92 kB / 0.5889 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.1418, allocations: 39.78 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1418, allocations: 4 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.1419, allocations: 19.98 kB / 0.589 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.1419, allocations: 19.91 kB / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.142, allocations: 33.7 kB / 0.589 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.892e-05/0.1421, allocations: 72.08 kB / 0.5891 GB, free: 1.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1421, allocations: 0 / 0.5891 GB, free: 1.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1421, allocations: 0 / 0.5891 GB, free: 1.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1421, allocations: 0 / 0.5891 GB, free: 1.109 MB / 494.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.0004565/0.1426, allocations: 387.1 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1426, allocations: 12.03 kB / 0.5895 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.1435, allocations: 139.6 kB / 0.5896 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1437, allocations: 174.9 kB / 0.5898 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1437, allocations: 8 kB / 0.5898 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1437, allocations: 8 kB / 0.5898 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.1442, allocations: 163.2 kB / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1442, allocations: 0 / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1443, allocations: 12 kB / 0.59 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1443, allocations: 0 / 0.59 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.145, allocations: 179.8 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.1459, allocations: 452.5 kB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.1466, allocations: 158.4 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1466, allocations: 7.922 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.1466, allocations: 30.56 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1466, allocations: 0 / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001137/0.1478, allocations: 289.4 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1478, allocations: 55.34 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.148, allocations: 153.7 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.148, allocations: 29.69 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.148, allocations: 99.98 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1481, allocations: 19.8 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.1481, allocations: 0 / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.1482, allocations: 318.8 kB / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1485, allocations: 79.92 kB / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.1489, allocations: 87.91 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.1492, allocations: 75.94 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1492, allocations: 0 / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000753/0.15, allocations: 209.4 kB / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.15, allocations: 93 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1501, allocations: 0 / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1501, allocations: 0 / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.1503, allocations: 55.88 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1504, allocations: 0 / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1506, allocations: 39.81 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1506, allocations: 0 / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.1506, allocations: 4 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001946/0.1508, allocations: 71.94 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.1508, allocations: 0 / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/0.1508, allocations: 3.953 kB / 0.5924 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.1509, allocations: 23.98 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-06/0.1509, allocations: 0 / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.151, allocations: 15.92 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.151, allocations: 4 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1511, allocations: 193.1 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1511, allocations: 15.75 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.1512, allocations: 20.27 kB / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1512, allocations: 7.969 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1512, allocations: 0 / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1512, allocations: 0 / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.1522, allocations: 492.1 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1523, allocations: 3.953 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.1525, allocations: 44 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1525, allocations: 4 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1525, allocations: 256 / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1525, allocations: 7.938 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1525, allocations: 4 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.1533, allocations: 336.3 kB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.1534, allocations: 101 kB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1534, allocations: 4 kB / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.1537, allocations: 27.97 kB / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1537, allocations: 4 kB / 0.5936 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1537, allocations: 7.984 kB / 0.5936 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.892e-05/0.1538, allocations: 115.2 kB / 0.5937 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1538, allocations: 0 / 0.5937 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002877/0.1541, allocations: 35.91 kB / 0.5938 GB, free: 11.98 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.095e-05/0.1542, allocations: 103.2 kB / 0.5939 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008414/0.155, allocations: 203.8 kB / 0.5941 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1551, allocations: 0 / 0.5941 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.1554, allocations: 87.98 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1556, allocations: 7.953 kB / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/0.1565, allocations: 328.4 kB / 0.5945 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1568, allocations: 0.7004 MB / 0.5952 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.337e-05/0.1569, allocations: 15.98 kB / 0.5952 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.1569, allocations: 23.42 kB / 0.5952 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.157, allocations: 0 / 0.5952 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.00295/0.1599, allocations: 1.267 MB / 0.5964 GB, free: 9.207 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: