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.001048/0.001048, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.009233/0.009234, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.451/1.451, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3891/0.3891, allocations: 55.01 MB / 325.8 MB, free: 0.6172 MB / 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.0008523/0.0008522, allocations: 20.66 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3109, allocations: 60.71 MB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001384/0.3123, allocations: 1.324 MB / 459.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004632/0.3128, allocations: 262.2 kB / 459.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.3128, allocations: 3.438 kB / 459.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.3129, allocations: 6.047 kB / 459.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.3129, allocations: 17.52 kB / 459.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.3132, allocations: 49.78 kB / 459.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.3133, allocations: 101.7 kB / 459.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3134, allocations: 25.12 kB / 459.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.3135, allocations: 37.64 kB / 459.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.3135, allocations: 34.09 kB / 459.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3136, allocations: 6.688 kB / 459.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.3136, allocations: 23.92 kB / 459.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.3136, allocations: 16.3 kB / 459.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.3137, allocations: 64.02 kB / 459.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3138, allocations: 94.34 kB / 460 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3138, allocations: 6 kB / 460 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3138, allocations: 0 / 460 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3138, allocations: 1.875 kB / 460 MB, free: 38.12 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.0004097/0.3143, allocations: 393.6 kB / 460.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.3143, allocations: 9.344 kB / 460.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009471/0.3153, allocations: 136.8 kB / 460.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3154, allocations: 191.6 kB / 460.7 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3154, allocations: 4.75 kB / 460.8 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3154, allocations: 11.89 kB / 460.8 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.3159, allocations: 170.9 kB / 460.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.316, allocations: 0 / 460.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.316, allocations: 4.531 kB / 460.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.316, allocations: 3.625 kB / 460.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.3167, allocations: 170.7 kB / 461.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.3176, allocations: 449.8 kB / 461.5 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.3183, allocations: 159.3 kB / 461.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.3186, allocations: 81.67 kB / 461.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3187, allocations: 3.422 kB / 461.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.3187, allocations: 40.75 kB / 461.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.3187, allocations: 0 / 461.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001175/0.3199, allocations: 285.7 kB / 462.1 MB, free: 37.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.3199, allocations: 51.41 kB / 462.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.32, allocations: 159.7 kB / 462.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.32, allocations: 25.7 kB / 462.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.3201, allocations: 101.3 kB / 462.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.3201, allocations: 24.77 kB / 462.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.3201, allocations: 9.719 kB / 462.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.3202, allocations: 327.8 kB / 462.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.3205, allocations: 79.22 kB / 462.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.3209, allocations: 80.77 kB / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.3216, allocations: 160.4 kB / 463.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3216, allocations: 3.938 kB / 463.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007484/0.3224, allocations: 208.5 kB / 463.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.3224, allocations: 97.67 kB / 463.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3224, allocations: 0 / 463.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3224, allocations: 5.031 kB / 463.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.3227, allocations: 44.95 kB / 463.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3227, allocations: 0 / 463.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3229, allocations: 40.66 kB / 463.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.323, allocations: 3.188 kB / 463.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-06/0.323, allocations: 7.188 kB / 463.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001953/0.3232, allocations: 76.81 kB / 463.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.3232, allocations: 0 / 463.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-06/0.3232, allocations: 0 / 463.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.3233, allocations: 22.67 kB / 463.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.3233, allocations: 3.938 kB / 463.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.3233, allocations: 16.41 kB / 463.6 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.3233, allocations: 0 / 463.6 MB, free: 36.26 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.668e-05/0.3234, allocations: 197.8 kB / 463.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3235, allocations: 6.812 kB / 463.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.3235, allocations: 10.81 kB / 463.8 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3235, allocations: 3.938 kB / 463.8 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3235, allocations: 2.375 kB / 463.8 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3235, allocations: 0 / 463.8 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00096/0.3245, allocations: 0.493 MB / 464.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3245, allocations: 4.5 kB / 464.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.3247, allocations: 42.86 kB / 464.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3247, allocations: 0 / 464.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3248, allocations: 4 kB / 464.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3248, allocations: 7.031 kB / 464.4 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3248, allocations: 0 / 464.4 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.3255, allocations: 308 kB / 464.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.3256, allocations: 95.52 kB / 464.8 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.3256, allocations: 2.812 kB / 464.8 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.3259, allocations: 29.47 kB / 464.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.3259, allocations: 8.297 kB / 464.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.3259, allocations: 6.125 kB / 464.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.326, allocations: 126.8 kB / 464.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.326, allocations: 0 / 464.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.3263, allocations: 38.53 kB / 465 MB, free: 35.37 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 7.314e-05/0.3264, allocations: 97.97 kB / 465.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000856/0.3272, allocations: 211.4 kB / 465.3 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3272, allocations: 0 / 465.3 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.3276, allocations: 86.73 kB / 465.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.3279, allocations: 13.5 kB / 465.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.3288, allocations: 326 kB / 465.7 MB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.3289, allocations: 0.6998 MB / 466.4 MB, free: 34.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.938e-05/0.329, allocations: 19.59 kB / 466.4 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.3291, allocations: 23.06 kB / 466.4 MB, free: 34.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3291, allocations: 0 / 466.4 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Templates: time 0.003131/0.3322, allocations: 1.303 MB / 467.7 MB, free: 34.27 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: