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.001749/0.001749, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002272/0.002272, allocations: 194.1 kB / 16.25 MB, free: 6.637 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.411/1.411, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3779/0.3779, allocations: 54.93 MB / 324.4 MB, free: 60 kB / 254.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.00128/0.00128, allocations: 67.91 kB / 394.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1129, allocations: 59.59 MB / 454.5 MB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.1923/0.3053, allocations: 1.666 MB / 456.2 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005724/0.3059, allocations: 267.5 kB / 456.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.306, allocations: 2.938 kB / 456.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.3061, allocations: 7.312 kB / 456.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.3062, allocations: 14.64 kB / 456.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.3065, allocations: 52.09 kB / 456.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3066, allocations: 104.4 kB / 456.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3068, allocations: 36.53 kB / 456.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.3069, allocations: 34.64 kB / 456.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.307, allocations: 44.56 kB / 456.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.307, allocations: 8.531 kB / 456.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-05/0.3071, allocations: 29.75 kB / 456.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.3071, allocations: 21.75 kB / 456.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.3072, allocations: 42.06 kB / 456.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.3073, allocations: 98.28 kB / 456.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3073, allocations: 0 / 456.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3073, allocations: 0 / 456.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3073, allocations: 4.25 kB / 456.9 MB, free: 38.6 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.0004981/0.3078, allocations: 397.6 kB / 457.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3079, allocations: 8.625 kB / 457.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.3089, allocations: 127 kB / 457.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3091, allocations: 204.4 kB / 457.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3091, allocations: 7.875 kB / 457.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3091, allocations: 4.938 kB / 457.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.3097, allocations: 155.5 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3097, allocations: 0 / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3097, allocations: 0.7812 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3097, allocations: 2.781 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.3104, allocations: 153.2 kB / 458 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.3114, allocations: 440.2 kB / 458.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.312, allocations: 142.9 kB / 458.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.3124, allocations: 78.8 kB / 458.6 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.3124, allocations: 0.5625 kB / 458.6 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3125, allocations: 34.75 kB / 458.6 MB, free: 37.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.3125, allocations: 0 / 458.6 MB, free: 37.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001143/0.3136, allocations: 250.1 kB / 458.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.3137, allocations: 51.91 kB / 458.9 MB, free: 37.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3138, allocations: 160.5 kB / 459.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3138, allocations: 25.7 kB / 459.1 MB, free: 37.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.3139, allocations: 104.7 kB / 459.2 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.3139, allocations: 27.14 kB / 459.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.3139, allocations: 25.83 kB / 459.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.314, allocations: 326 kB / 459.6 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.3143, allocations: 75.66 kB / 459.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.3147, allocations: 69.66 kB / 459.7 MB, free: 36.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.3154, allocations: 137.2 kB / 459.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3154, allocations: 0 / 459.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007376/0.3161, allocations: 186.2 kB / 460 MB, free: 36.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3161, allocations: 5.875 kB / 460.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3162, allocations: 5.344 kB / 460.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3162, allocations: 0 / 460.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3164, allocations: 39.94 kB / 460.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3165, allocations: 6.656 kB / 460.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3167, allocations: 26.39 kB / 460.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3167, allocations: 2.969 kB / 460.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001266/0.3168, allocations: 111.7 kB / 460.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001037/0.317, allocations: 59.02 kB / 460.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001596/0.3171, allocations: 82.27 kB / 460.4 MB, free: 36.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.3171, allocations: 2.75 kB / 460.4 MB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000218/0.3174, allocations: 109.4 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.3174, allocations: 5.5 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3174, allocations: 1.391 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-06/0.3174, allocations: 6.656 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.3175, allocations: 21.45 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.3175, allocations: 6.5 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.3175, allocations: 9.969 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.3176, allocations: 2.531 kB / 460.5 MB, free: 36.66 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 7.341e-05/0.3176, allocations: 176.3 kB / 460.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.3177, allocations: 13.59 kB / 460.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.3177, allocations: 20.67 kB / 460.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3177, allocations: 0 / 460.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3178, allocations: 4.75 kB / 460.8 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3178, allocations: 0 / 460.8 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.3187, allocations: 485.2 kB / 461.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3187, allocations: 2.812 kB / 461.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.319, allocations: 34.33 kB / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.319, allocations: 6.875 kB / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.319, allocations: 7.078 kB / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.319, allocations: 2.781 kB / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.319, allocations: 0.6562 kB / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.3197, allocations: 287.9 kB / 461.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.3198, allocations: 89.69 kB / 461.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3198, allocations: 6.75 kB / 461.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.32, allocations: 18.34 kB / 461.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3201, allocations: 9.719 kB / 461.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3201, allocations: 5.766 kB / 461.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.3202, allocations: 129.8 kB / 461.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3202, allocations: 4 kB / 461.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.3205, allocations: 25.16 kB / 461.8 MB, free: 35.8 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 0.0001017/0.3206, allocations: 94.69 kB / 461.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.3214, allocations: 191.9 kB / 462.1 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3214, allocations: 0 / 462.1 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.3218, allocations: 83.06 kB / 462.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3221, allocations: 15.25 kB / 462.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.3231, allocations: 305.6 kB / 462.5 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3232, allocations: 0.6983 MB / 463.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.3233, allocations: 20.66 kB / 463.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.3234, allocations: 20.36 kB / 463.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3234, allocations: 0 / 463.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of Templates: time 0.00325/0.3266, allocations: 1.376 MB / 464.6 MB, free: 34.73 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)