Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001268/0.001268, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3859/0.3859, allocations: 54.94 MB / 324.7 MB, free: 15.89 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.89 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 59.6 MB / 454.9 MB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.1856/0.2992, allocations: 1.594 MB / 456.5 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005177/0.2998, allocations: 265.8 kB / 456.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2999, allocations: 2.625 kB / 456.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.3, allocations: 5.906 kB / 456.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3001, allocations: 21.27 kB / 456.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3004, allocations: 62.89 kB / 456.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3006, allocations: 110 kB / 457 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3007, allocations: 32.23 kB / 457 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.3008, allocations: 30.75 kB / 457 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.3008, allocations: 52.14 kB / 457.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3009, allocations: 8.781 kB / 457.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.301, allocations: 27.84 kB / 457.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.301, allocations: 13.28 kB / 457.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.301, allocations: 47.17 kB / 457.2 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3012, allocations: 106.8 kB / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3012, allocations: 0 / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3012, allocations: 1.219 kB / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3012, allocations: 0 / 457.3 MB, free: 38.96 MB / 382.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.0004694/0.3017, allocations: 398.5 kB / 457.7 MB, free: 38.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.3018, allocations: 9.25 kB / 457.7 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.3028, allocations: 127.5 kB / 457.8 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3029, allocations: 197.3 kB / 458 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3029, allocations: 8.906 kB / 458 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.303, allocations: 5.531 kB / 458 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.3035, allocations: 154.5 kB / 458.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3035, allocations: 1.625 kB / 458.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3035, allocations: 3.625 kB / 458.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3035, allocations: 2.875 kB / 458.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.3043, allocations: 151.4 kB / 458.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.3051, allocations: 445.7 kB / 458.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.3058, allocations: 142.7 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.3062, allocations: 75.56 kB / 459 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3063, allocations: 3.188 kB / 459 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.3063, allocations: 34.31 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.3063, allocations: 1.656 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001177/0.3075, allocations: 249.3 kB / 459.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.3075, allocations: 54.34 kB / 459.3 MB, free: 37.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3076, allocations: 156.4 kB / 459.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3076, allocations: 29.64 kB / 459.5 MB, free: 37.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.3077, allocations: 97.86 kB / 459.6 MB, free: 37.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3077, allocations: 26.89 kB / 459.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.3078, allocations: 26.81 kB / 459.6 MB, free: 37.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.3078, allocations: 324.8 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.3082, allocations: 77.92 kB / 460 MB, free: 37.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.3086, allocations: 68.31 kB / 460.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.3093, allocations: 135.4 kB / 460.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3093, allocations: 0 / 460.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007556/0.31, allocations: 196.9 kB / 460.4 MB, free: 37.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3101, allocations: 3.25 kB / 460.4 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3101, allocations: 3.938 kB / 460.4 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3101, allocations: 0.5 kB / 460.4 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3103, allocations: 39.05 kB / 460.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3104, allocations: 1.641 kB / 460.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3106, allocations: 32.88 kB / 460.5 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3106, allocations: 7.766 kB / 460.5 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001123/0.3107, allocations: 107.7 kB / 460.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.112e-05/0.3108, allocations: 57.58 kB / 460.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000163/0.311, allocations: 76.72 kB / 460.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.311, allocations: 9.859 kB / 460.8 MB, free: 37.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000221/0.3112, allocations: 108.2 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.3112, allocations: 5.625 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.3112, allocations: 3 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/0.3113, allocations: 5.812 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.3113, allocations: 21 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.3113, allocations: 7.734 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.3114, allocations: 6.078 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3114, allocations: 3.031 kB / 460.9 MB, free: 37.02 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.3115, allocations: 182.3 kB / 461.1 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.3115, allocations: 7.062 kB / 461.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.3116, allocations: 22.42 kB / 461.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3116, allocations: 2.938 kB / 461.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3116, allocations: 4 kB / 461.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3116, allocations: 0 / 461.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.3126, allocations: 479.7 kB / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3126, allocations: 0 / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.3128, allocations: 42.95 kB / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3128, allocations: 3.938 kB / 461.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3129, allocations: 0 / 461.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3129, allocations: 3.5 kB / 461.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3129, allocations: 5.859 kB / 461.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.3136, allocations: 291.8 kB / 461.9 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.3136, allocations: 88.92 kB / 462 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3137, allocations: 4.312 kB / 462 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3139, allocations: 26.11 kB / 462.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.314, allocations: 6.031 kB / 462.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.314, allocations: 6.438 kB / 462.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.314, allocations: 119 kB / 462.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.314, allocations: 2.906 kB / 462.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.3144, allocations: 26.12 kB / 462.2 MB, free: 36.15 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.714e-05/0.3145, allocations: 101.8 kB / 462.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008527/0.3153, allocations: 181.4 kB / 462.5 MB, free: 36.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3153, allocations: 6.938 kB / 462.5 MB, free: 36.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.3157, allocations: 75.52 kB / 462.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.316, allocations: 14.28 kB / 462.6 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3171, allocations: 286.7 kB / 462.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.3172, allocations: 0.6999 MB / 463.6 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.054e-05/0.3173, allocations: 13.73 kB / 463.6 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.3174, allocations: 19.58 kB / 463.6 MB, free: 35.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3174, allocations: 6.938 kB / 463.6 MB, free: 35.18 MB / 382.1 MB Notification: Performance of Templates: time 0.003993/0.3214, allocations: 1.43 MB / 465 MB, free: 35.09 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)