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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000765/0.000765, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008088/0.0008088, allocations: 172.7 kB / 15.95 MB, free: 208 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.286/1.286, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.4 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 8 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3494, allocations: 81.57 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00145/0.3509, allocations: 1.29 MB / 0.5843 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005152/0.3514, allocations: 303.1 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.3515, allocations: 1.156 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.3515, allocations: 5.766 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.3516, allocations: 17.28 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3519, allocations: 58.52 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.352, allocations: 95.83 kB / 0.5848 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3521, allocations: 24.55 kB / 0.5848 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.3522, allocations: 25.78 kB / 0.5848 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.3523, allocations: 42.92 kB / 0.5849 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3523, allocations: 2.75 kB / 0.5849 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.3524, allocations: 26.39 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.3524, allocations: 13.95 kB / 0.5849 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.3524, allocations: 40.12 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3525, allocations: 67.23 kB / 0.585 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3526, allocations: 1.531 kB / 0.585 GB, free: 2.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3526, allocations: 0 / 0.585 GB, free: 2.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.3526, allocations: 0 / 0.585 GB, free: 2.617 MB / 430.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.0004143/0.353, allocations: 390.8 kB / 0.5854 GB, free: 2.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.353, allocations: 9.5 kB / 0.5854 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009448/0.354, allocations: 143.8 kB / 0.5856 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.3541, allocations: 173.8 kB / 0.5857 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3541, allocations: 2.75 kB / 0.5857 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.3541, allocations: 8.688 kB / 0.5857 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.3546, allocations: 166.5 kB / 0.5859 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3547, allocations: 0 / 0.5859 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3547, allocations: 9.328 kB / 0.5859 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3547, allocations: 2.406 kB / 0.5859 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.3554, allocations: 174.4 kB / 0.5861 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.3563, allocations: 453 kB / 0.5865 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.3569, allocations: 163.8 kB / 0.5867 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.3573, allocations: 86.41 kB / 0.5867 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3573, allocations: 0.75 kB / 0.5867 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.3573, allocations: 37.19 kB / 0.5868 GB, free: 1.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3573, allocations: 0 / 0.5868 GB, free: 1.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.00114/0.3585, allocations: 270 kB / 0.587 GB, free: 1.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.3585, allocations: 61.47 kB / 0.5871 GB, free: 1.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3586, allocations: 158.5 kB / 0.5872 GB, free: 1.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3587, allocations: 26.52 kB / 0.5873 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.3587, allocations: 103.5 kB / 0.5874 GB, free: 1.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3587, allocations: 15.56 kB / 0.5874 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.3587, allocations: 0 / 0.5874 GB, free: 1.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.3588, allocations: 324.7 kB / 0.5877 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.3591, allocations: 81.2 kB / 0.5878 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.3595, allocations: 81.7 kB / 0.5878 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3598, allocations: 81.11 kB / 0.5879 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3599, allocations: 0 / 0.5879 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007433/0.3606, allocations: 206.9 kB / 0.5881 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.3606, allocations: 96.44 kB / 0.5882 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3607, allocations: 2.125 kB / 0.5882 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3607, allocations: 0 / 0.5882 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.3609, allocations: 48.98 kB / 0.5883 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3609, allocations: 0 / 0.5883 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.3611, allocations: 38.56 kB / 0.5883 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3612, allocations: 12.77 kB / 0.5883 GB, free: 468 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.3612, allocations: 8.031 kB / 0.5883 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002044/0.3614, allocations: 74.5 kB / 0.5884 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.3614, allocations: 0 / 0.5884 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-06/0.3614, allocations: 0 / 0.5884 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.3615, allocations: 22.89 kB / 0.5884 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-06/0.3615, allocations: 0 / 0.5884 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.3616, allocations: 14.95 kB / 0.5884 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3616, allocations: 1.281 kB / 0.5884 GB, free: 436 kB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.3616, allocations: 194.5 kB / 0.5886 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.3617, allocations: 12.55 kB / 0.5886 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3617, allocations: 17.16 kB / 0.5886 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3617, allocations: 0.8125 kB / 0.5886 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3617, allocations: 2.188 kB / 0.5886 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3618, allocations: 0 / 0.5886 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3628, allocations: 0.493 MB / 0.5891 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3628, allocations: 1.594 kB / 0.5891 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.363, allocations: 45.3 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.363, allocations: 1.453 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3631, allocations: 4.156 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3631, allocations: 1.438 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3631, allocations: 1.094 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.3639, allocations: 315.9 kB / 0.5895 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.364, allocations: 98.88 kB / 0.5896 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.364, allocations: 6.547 kB / 0.5896 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.3642, allocations: 28.69 kB / 0.5896 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3643, allocations: 4.766 kB / 0.5896 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3643, allocations: 5.016 kB / 0.5896 GB, free: 15.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.403e-05/0.3644, allocations: 119.8 kB / 0.5897 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3644, allocations: 0 / 0.5897 GB, free: 15.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.3647, allocations: 35.16 kB / 0.5898 GB, free: 15.43 MB / 446.1 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 (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 8.872e-05/0.3648, allocations: 99.7 kB / 0.5899 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000854/0.3657, allocations: 207.8 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3657, allocations: 0 / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.3661, allocations: 90.94 kB / 0.5901 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3664, allocations: 12.7 kB / 0.5902 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.3673, allocations: 326.6 kB / 0.5905 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3676, allocations: 0.6948 MB / 0.5911 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.3677, allocations: 14.09 kB / 0.5912 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.3677, allocations: 19.19 kB / 0.5912 GB, free: 14.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3678, allocations: 3.938 kB / 0.5912 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Templates: time 0.003543/0.3713, allocations: 1.264 MB / 0.5924 GB, free: 14.25 MB / 446.1 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)