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.001269/0.001269, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001551/0.001551, allocations: 168.7 kB / 15.95 MB, free: 204 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.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9504/0.9504, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005462/0.0005464, allocations: 8 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2419, allocations: 82.31 MB / 0.5874 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002842/0.2448, allocations: 1.294 MB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009718/0.2458, allocations: 292.2 kB / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.246, allocations: 0 / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.246, allocations: 7.922 kB / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.2462, allocations: 19.84 kB / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.2466, allocations: 51.89 kB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.2469, allocations: 87.7 kB / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.2471, allocations: 35.95 kB / 0.5891 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.2473, allocations: 27.86 kB / 0.5891 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.2475, allocations: 43.78 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.2475, allocations: 0 / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2476, allocations: 19.98 kB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.2477, allocations: 19.91 kB / 0.5892 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.2478, allocations: 37.64 kB / 0.5893 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.248, allocations: 72.09 kB / 0.5893 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.248, allocations: 0 / 0.5893 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.248, allocations: 0 / 0.5893 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.248, allocations: 0 / 0.5893 GB, free: 0.9609 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.000755/0.2488, allocations: 383.1 kB / 0.5897 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.2488, allocations: 8.031 kB / 0.5897 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.2504, allocations: 143.6 kB / 0.5898 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.2506, allocations: 182.9 kB / 0.59 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.2506, allocations: 8 kB / 0.59 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.2506, allocations: 4 kB / 0.59 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008205/0.2515, allocations: 157.6 kB / 0.5902 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2515, allocations: 3.984 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2515, allocations: 4 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2516, allocations: 0 / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.2528, allocations: 189.5 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.2543, allocations: 448.3 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2554, allocations: 154.5 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.256, allocations: 84.91 kB / 0.591 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.2561, allocations: 3.938 kB / 0.591 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.2561, allocations: 34.56 kB / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.435e-06/0.2561, allocations: 0 / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001968/0.2581, allocations: 281.6 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2582, allocations: 51.41 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.2584, allocations: 158.2 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.2585, allocations: 33.64 kB / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.2586, allocations: 108 kB / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.2586, allocations: 11.81 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.2587, allocations: 0 / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.2588, allocations: 322.8 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/0.2594, allocations: 83.92 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.26, allocations: 83.86 kB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.2607, allocations: 75.89 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2607, allocations: 0 / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001293/0.262, allocations: 209.4 kB / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.2621, allocations: 93 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2621, allocations: 0 / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.2622, allocations: 4 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.2626, allocations: 43.95 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2626, allocations: 3.984 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.263, allocations: 35.81 kB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2631, allocations: 4 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2631, allocations: 4 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003146/0.2634, allocations: 79.83 kB / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.2634, allocations: 0 / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.2634, allocations: 3.984 kB / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2636, allocations: 19.98 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.2636, allocations: 0 / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.915e-05/0.2637, allocations: 23.92 kB / 0.5927 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.2637, allocations: 4 kB / 0.5927 GB, free: 13.26 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.0001603/0.2639, allocations: 185.1 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.264, allocations: 19.77 kB / 0.5929 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.264, allocations: 8.312 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.2641, allocations: 4 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2641, allocations: 7.938 kB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.2641, allocations: 3.984 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.2658, allocations: 492 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2659, allocations: 7.938 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.2662, allocations: 44 kB / 0.5935 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2663, allocations: 3.938 kB / 0.5935 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.2663, allocations: 8 kB / 0.5935 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2663, allocations: 0 / 0.5935 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2663, allocations: 0 / 0.5935 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2676, allocations: 313 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.2678, allocations: 100.9 kB / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.2678, allocations: 0 / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.2682, allocations: 36.09 kB / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.2683, allocations: 0 / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.2684, allocations: 11.98 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000153/0.2685, allocations: 123.1 kB / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2685, allocations: 0 / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005651/0.2691, allocations: 28 kB / 0.594 GB, free: 11.78 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 0.0001497/0.2693, allocations: 95.25 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.2708, allocations: 216.2 kB / 0.5943 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2708, allocations: 0 / 0.5943 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.2714, allocations: 83.98 kB / 0.5944 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.2719, allocations: 15.86 kB / 0.5944 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.2736, allocations: 312.6 kB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.274, allocations: 0.7004 MB / 0.5954 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.2742, allocations: 15.98 kB / 0.5954 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.2743, allocations: 19.42 kB / 0.5955 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.2743, allocations: 0 / 0.5955 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.006289/0.2806, allocations: 1.268 MB / 0.5967 GB, free: 9.016 MB / 0.4981 GB 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)