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.00585/0.00585, allocations: 97.39 kB / 15.73 MB, free: 5.988 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.001558/0.001558, allocations: 188.2 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.992/0.992, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 0.5862 GB, free: 2.746 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.469, allocations: 81.03 MB / 0.6654 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002315/0.4714, allocations: 1.607 MB / 0.6669 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005511/0.472, allocations: 300.7 kB / 0.6672 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.472, allocations: 1.469 kB / 0.6672 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.4721, allocations: 7.875 kB / 0.6672 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.4721, allocations: 16.95 kB / 0.6672 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.4724, allocations: 77.89 kB / 0.6673 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.4726, allocations: 107.6 kB / 0.6674 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.4727, allocations: 36.61 kB / 0.6674 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.4728, allocations: 35.61 kB / 0.6675 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.4729, allocations: 44.34 kB / 0.6675 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.4729, allocations: 8.156 kB / 0.6675 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/0.473, allocations: 30.03 kB / 0.6676 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.4731, allocations: 26.81 kB / 0.6676 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.4731, allocations: 34.88 kB / 0.6676 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.4733, allocations: 109 kB / 0.6677 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4733, allocations: 0 / 0.6677 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4733, allocations: 1.25 kB / 0.6677 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4733, allocations: 0 / 0.6677 GB, free: 5.453 MB / 0.4981 GB 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.0005273/0.4738, allocations: 400.5 kB / 0.6681 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4739, allocations: 10.44 kB / 0.6681 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4749, allocations: 123.8 kB / 0.6682 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.475, allocations: 176.7 kB / 0.6684 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4751, allocations: 8.156 kB / 0.6684 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.4751, allocations: 4.219 kB / 0.6684 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.4756, allocations: 158.8 kB / 0.6686 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4756, allocations: 1.281 kB / 0.6686 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4756, allocations: 4 kB / 0.6686 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4756, allocations: 2.125 kB / 0.6686 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.4764, allocations: 147.4 kB / 0.6687 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.4773, allocations: 457.5 kB / 0.6691 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.478, allocations: 142.3 kB / 0.6693 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.4784, allocations: 77.34 kB / 0.6694 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4784, allocations: 1.219 kB / 0.6694 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4784, allocations: 30.56 kB / 0.6694 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.4784, allocations: 1.156 kB / 0.6694 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001184/0.4796, allocations: 255.9 kB / 0.6696 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.4797, allocations: 51.41 kB / 0.6697 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4798, allocations: 164.5 kB / 0.6698 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.4798, allocations: 26.95 kB / 0.6699 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.4799, allocations: 103.5 kB / 0.67 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.4799, allocations: 18.41 kB / 0.67 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.48, allocations: 28.5 kB / 0.67 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.4801, allocations: 320.3 kB / 0.6703 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.4804, allocations: 77.06 kB / 0.6704 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.4808, allocations: 73.09 kB / 0.6705 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.4815, allocations: 140.3 kB / 0.6706 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4815, allocations: 3.938 kB / 0.6706 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007513/0.4823, allocations: 184.5 kB / 0.6708 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4823, allocations: 9.281 kB / 0.6708 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4823, allocations: 3.984 kB / 0.6708 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4823, allocations: 1.5 kB / 0.6708 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.4826, allocations: 40.83 kB / 0.6708 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4826, allocations: 1.25 kB / 0.6708 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.4828, allocations: 25.34 kB / 0.6708 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4828, allocations: 5.453 kB / 0.6709 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001136/0.4829, allocations: 112.2 kB / 0.671 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.518e-05/0.483, allocations: 59.39 kB / 0.671 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001706/0.4832, allocations: 82.33 kB / 0.6711 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.4832, allocations: 0 / 0.6711 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002261/0.4835, allocations: 110 kB / 0.6712 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.4835, allocations: 13.25 kB / 0.6712 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.4835, allocations: 1.125 kB / 0.6712 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.4835, allocations: 6.375 kB / 0.6712 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.4836, allocations: 20.52 kB / 0.6712 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.4836, allocations: 1.969 kB / 0.6712 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.4836, allocations: 9.578 kB / 0.6713 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.4837, allocations: 2.406 kB / 0.6713 GB, free: 2.551 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/0.4837, allocations: 181.7 kB / 0.6714 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.4838, allocations: 16.36 kB / 0.6714 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.4838, allocations: 11.47 kB / 0.6715 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4838, allocations: 0.9688 kB / 0.6715 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4838, allocations: 0 / 0.6715 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4838, allocations: 4.922 kB / 0.6715 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.4848, allocations: 482.2 kB / 0.6719 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4848, allocations: 0 / 0.6719 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4851, allocations: 35.95 kB / 0.672 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4851, allocations: 5.156 kB / 0.672 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4851, allocations: 9.203 kB / 0.672 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4851, allocations: 1.219 kB / 0.672 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4851, allocations: 1.156 kB / 0.672 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.4859, allocations: 292.4 kB / 0.6722 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.4859, allocations: 97.05 kB / 0.6723 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.486, allocations: 6.125 kB / 0.6723 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4862, allocations: 19.31 kB / 0.6724 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4862, allocations: 19.05 kB / 0.6724 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.4863, allocations: 6.141 kB / 0.6724 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.4863, allocations: 114.3 kB / 0.6725 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4863, allocations: 0 / 0.6725 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003105/0.4866, allocations: 30.97 kB / 0.6725 GB, free: 1.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.152e-05/0.4867, allocations: 99.08 kB / 0.6726 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008814/0.4876, allocations: 198.7 kB / 0.6728 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4876, allocations: 0 / 0.6728 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.488, allocations: 74.98 kB / 0.6729 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4883, allocations: 7.906 kB / 0.6729 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/0.4893, allocations: 291.5 kB / 0.6732 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.4894, allocations: 0.6925 MB / 0.6738 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.393e-05/0.4895, allocations: 15.58 kB / 0.6739 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.4896, allocations: 16.8 kB / 0.6739 GB, free: 236 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4896, allocations: 4 kB / 0.6739 GB, free: 232 kB / 0.4981 GB Notification: Performance of Templates: time 0.004652/0.4942, allocations: 1.441 MB / 0.6753 GB, free: 15.49 MB / 0.5137 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)