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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 189.7 kB / 16.14 MB, free: 6.703 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.424/1.424, allocations: 205.1 MB / 222 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3715/0.3715, allocations: 54.94 MB / 324.3 MB, free: 44 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.001298/0.001298, allocations: 63.91 kB / 394.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1237, allocations: 59.6 MB / 454.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.2034/0.3272, allocations: 1.66 MB / 456 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005598/0.3278, allocations: 269.5 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.3279, allocations: 1.031 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.44e-05/0.328, allocations: 7.594 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.3281, allocations: 15.27 kB / 456.2 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3284, allocations: 54.41 kB / 456.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3285, allocations: 102 kB / 456.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3286, allocations: 25.66 kB / 456.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.3287, allocations: 34.12 kB / 456.5 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.3288, allocations: 50.19 kB / 456.5 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3288, allocations: 4.562 kB / 456.5 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.3289, allocations: 25 kB / 456.5 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.329, allocations: 18.48 kB / 456.6 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.329, allocations: 34.38 kB / 456.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.3292, allocations: 98.62 kB / 456.7 MB, free: 38.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3292, allocations: 0 / 456.7 MB, free: 38.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.3292, allocations: 0.5312 kB / 456.7 MB, free: 38.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3292, allocations: 3.781 kB / 456.7 MB, free: 38.8 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.0005834/0.3298, allocations: 405.5 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3299, allocations: 8.125 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.3309, allocations: 127.1 kB / 457.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3311, allocations: 195.8 kB / 457.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3311, allocations: 7.156 kB / 457.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3311, allocations: 3.938 kB / 457.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.3317, allocations: 163.5 kB / 457.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3317, allocations: 0.8125 kB / 457.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3317, allocations: 0.75 kB / 457.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3317, allocations: 3.031 kB / 457.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.3325, allocations: 149.7 kB / 457.7 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.3334, allocations: 447.3 kB / 458.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.3341, allocations: 145.2 kB / 458.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.3345, allocations: 75.08 kB / 458.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3345, allocations: 2.75 kB / 458.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3345, allocations: 31.25 kB / 458.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.725e-06/0.3345, allocations: 3.938 kB / 458.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00119/0.3357, allocations: 255.5 kB / 458.7 MB, free: 37.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3358, allocations: 51.41 kB / 458.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3359, allocations: 160.1 kB / 458.9 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3359, allocations: 25.7 kB / 458.9 MB, free: 37.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.336, allocations: 101 kB / 459 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.336, allocations: 26.28 kB / 459 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.3361, allocations: 26.19 kB / 459 MB, free: 37.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.3361, allocations: 317.8 kB / 459.4 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.3365, allocations: 82 kB / 459.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.3369, allocations: 71.89 kB / 459.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.3375, allocations: 132.8 kB / 459.6 MB, free: 37.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3376, allocations: 0 / 459.6 MB, free: 37.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007242/0.3383, allocations: 186.1 kB / 459.8 MB, free: 37.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3383, allocations: 2.938 kB / 459.8 MB, free: 37.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3383, allocations: 9.047 kB / 459.8 MB, free: 37.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3384, allocations: 7.031 kB / 459.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.3386, allocations: 34.62 kB / 459.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3386, allocations: 1.328 kB / 459.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3388, allocations: 25.83 kB / 459.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.3389, allocations: 9.656 kB / 459.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001112/0.339, allocations: 106.2 kB / 460 MB, free: 36.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.933e-05/0.3391, allocations: 58.36 kB / 460.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001497/0.3392, allocations: 83.05 kB / 460.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.3393, allocations: 0 / 460.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002133/0.3395, allocations: 114.5 kB / 460.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.3395, allocations: 5.969 kB / 460.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.3395, allocations: 0 / 460.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.3395, allocations: 6.938 kB / 460.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.3396, allocations: 23.67 kB / 460.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.3396, allocations: 3.891 kB / 460.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.3397, allocations: 12.8 kB / 460.3 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3397, allocations: 2.875 kB / 460.3 MB, free: 36.85 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.59e-05/0.3398, allocations: 181.8 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.3398, allocations: 13.34 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.3399, allocations: 18.66 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3399, allocations: 3.938 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3399, allocations: 0 / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3399, allocations: 1.031 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.3409, allocations: 484.5 kB / 461 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3409, allocations: 3.188 kB / 461 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3411, allocations: 37.44 kB / 461 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3411, allocations: 0 / 461 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3412, allocations: 6.75 kB / 461 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3412, allocations: 3.234 kB / 461 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3412, allocations: 2.812 kB / 461.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.342, allocations: 282.7 kB / 461.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.342, allocations: 88.69 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.3421, allocations: 7.219 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3423, allocations: 24.81 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.3424, allocations: 7.578 kB / 461.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3424, allocations: 5.891 kB / 461.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.624e-05/0.3425, allocations: 119.6 kB / 461.6 MB, free: 35.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3425, allocations: 0 / 461.6 MB, free: 35.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.3428, allocations: 28.41 kB / 461.6 MB, free: 35.99 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.000123/0.3429, allocations: 97.28 kB / 461.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008313/0.3438, allocations: 188.3 kB / 461.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3438, allocations: 4.75 kB / 461.9 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.3441, allocations: 78.95 kB / 462 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3445, allocations: 12.91 kB / 462 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009683/0.3455, allocations: 302.8 kB / 462.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.3456, allocations: 0.7075 MB / 463 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.3458, allocations: 13.42 kB / 463 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.3458, allocations: 19.81 kB / 463 MB, free: 34.99 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3458, allocations: 0 / 463 MB, free: 34.99 MB / 382.1 MB Notification: Performance of Templates: time 0.003405/0.3493, allocations: 1.319 MB / 464.3 MB, free: 34.92 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)